summaryrefslogtreecommitdiffstats
path: root/include/linux/netfilter/xt_SECMARK.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-02-16 21:55:54 +0100
committerPhil Sutter <phil@nwl.cc>2023-02-17 18:18:48 +0100
commitf5993955ab1d1ef34a0729af2eb58e1eb4f084da (patch)
treeeda1d3e7c130bfa1703a00baaf1abd1796a3fe18 /include/linux/netfilter/xt_SECMARK.h
parentaa72fad69a7709f3610f1adc4794885c79788d08 (diff)
nft-shared: Lookup matches in iptables_command_state
Some matches may turn into multiple nft statements (naturally or via translation). Such statements must parse into a single extension again in order to rebuild the rule as it was. Introduce nft_find_match_in_cs() to iterate through the lists and drop tcp/udp port match caching in struct nft_xt_ctx which is not needed anymore. Note: Match reuse is not enabled unconditionally for all matches, because iptables supports having multiple instances of the same extension. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'include/linux/netfilter/xt_SECMARK.h')
0 files changed, 0 insertions, 0 deletions