All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH nf-next 0/3] netfilter: clusterip: don't register hook in all netns
@ 2021-07-22  8:48 Florian Westphal
  2021-07-22  8:48 ` [PATCH nf-next 1/3] netfilter: ipt_CLUSTERIP: only add arp mangle hook when required Florian Westphal
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Florian Westphal @ 2021-07-22  8:48 UTC (permalink / raw)
  To: netfilter-devel; +Cc: Florian Westphal

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

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-01  9:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-22  8:48 [PATCH nf-next 0/3] netfilter: clusterip: don't register hook in all netns Florian Westphal
2021-07-22  8:48 ` [PATCH nf-next 1/3] netfilter: ipt_CLUSTERIP: only add arp mangle hook when required Florian Westphal
2021-07-22  8:48 ` [PATCH nf-next 2/3] netfilter: ipt_CLUSTERIP: use clusterip_net to store pernet warning Florian Westphal
2021-07-22  8:48 ` [PATCH nf-next 3/3] netfilter: remove xt pernet data Florian Westphal
2021-08-01  9:46 ` [PATCH nf-next 0/3] netfilter: clusterip: don't register hook in all netns Pablo Neira Ayuso

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.