Skip to content

netfilter: remove per-netns conntrack tables, part 2

Florian Westphal netfilter-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3netfilter: conntrack: check netns when walking expect hashnet/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c net/netfilter/nf_conntrack_expect.c net/netfilter/nf_conntrack_netlink.c+30 -40 replies
2/3netfilter: conntrack: make netns address part of expect hashnet/netfilter/nf_conntrack_expect.c+10 -70 replies
3/3netfilter: conntrack: use a single expectation table for all namespacesinclude/net/netfilter/nf_conntrack_expect.h include/net/netns/conntrack.h net/ipv4/netfilter/nf_conntrack_l3proto_ipv4_compat.c +3 more+25 -330 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH nf-next 0/3] netfilter: remove per-netns conntrack tables, part 2

This series removes the per-namespace duplication of the expectation table. We use one table for all namespaces, using net_hash_mix(net) as additional hash seed so entries are spread evenly even if addresses overlap.

The max limit was already global, even before this patch. couting is still done per namespace.