netfilter: clusterip: don't register hook in all netns
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | netfilter: ipt_CLUSTERIP: only add arp mangle hook when requirednet/ | +34 | 0 replies | |
| 2/3 | netfilter: ipt_CLUSTERIP: use clusterip_net to store pernet warningnet/ | +3 | 0 replies | |
| 3/3 | netfilter: remove xt pernet datainclude/ include/ net/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH nf-next 0/3] netfilter: clusterip: don't register hook in all netns
This series stops ipt_CLUSTERIP from registering arp mangling hook unconditionally.
Hook gets installed/removed from checkentry/destroy callbacks.
Before this, modprobe ipt_CLUSTERIP would add a hook in each netns. While at it, also get rid of x_tables.h/xt storage space in struct net, there is no need for this.
Florian Westphal (3):
netfilter: ipt_CLUSTERIP: only add arp mangle hook when required
netfilter: ipt_CLUSTERIP: use clusterip_net to store pernet warning
netfilter: remove xt pernet data
include/net/net_namespace.h | 2 -- include/net/netns/x_tables.h | 12 ------- net/ipv4/netfilter/ipt_CLUSTERIP.c | 56 ++++++++++++++++++++---------- net/netfilter/xt_CT.c | 11 ------ 4 files changed, 37 insertions(+), 44 deletions(-) delete mode 100644 include/net/netns/x_tables.h
Signature · 1 line
2.31.1