netfilter: nft_ct: track register operations
Subsystems (2)
Pablo Neira Ayuso
maintainerPATCH v2 1/1 netfilter: nft_ct: track register operations
Check if the destination register already contains the data that this ct store expression performs. This allows to skip this redundant operation. If the destination contains a different selector, update the register tracking information.
Signed-off-by Pablo Neira Ayuso <[email protected]>
---
v2: missing EXPORT_SYMBOL for nft_expr_reduce_bitwise break nft_ct.c as module
net/netfilter/nft_bitwise.c | 1 + net/netfilter/nft_ct.c | 47 +++++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+)
net/netfilter/nft_bitwise.c +1 -0
@@ -522,3 +522,4 @@ bool nft_expr_reduce_bitwise(struct nft_regs_track *track,return false; } +EXPORT_SYMBOL_GPL (nft_expr_reduce_bitwise);
net/netfilter/nft_ct.c +47 -0
67 lines not on this page · raw message
Signature · 1 line
2.30.2