Skip to content

netfilter: nat: simplify & convert bysrc hash to rhashtable

Florian Westphal netfilter-devel 1 version Applied

Status from this message: Applied, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest1 of 2 patches 1 replyApplied

1 of 2 patches is in this archive. The cover letter announces 2.

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2netfilter: move nat hlist_head to nf_conninclude/net/netfilter/nf_conntrack.h include/net/netfilter/nf_conntrack_extend.h include/net/netfilter/nf_nat.h +2 more+12 -441 reply

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/2] netfilter: nat: simplify & convert bysrc hash to rhashtable

As discussed during NFWS in Amsterdam this gets rid of the 'ct' backpointer in the nat extension structure.

We place nf_conn objects in the bysource table, then convert it to rhashtable to get parallel insert and automated sizing of the table.

After these patches, we have one additional pointer in nf_conn (same size as before due to alignment), nat extension area is reduced to 8 byte instead of 32.