netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH nf-next 0/2] netfilter: nat: simplify & convert bysrc hash to rhashtable
@ 2016-07-05 10:07 Florian Westphal
  2016-07-05 10:07 ` [PATCH nf-next 1/2] netfilter: move nat hlist_head to nf_conn Florian Westphal
  2016-07-05 10:07 ` [PATCH nf-next 2/6] netfilter: nat: convert nat bysrc hash to rhashtable Florian Westphal
  0 siblings, 2 replies; 5+ messages in thread
From: Florian Westphal @ 2016-07-05 10:07 UTC (permalink / raw)
  To: netfilter-devel

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.


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

end of thread, other threads:[~2016-07-11 10:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-05 10:07 [PATCH nf-next 0/2] netfilter: nat: simplify & convert bysrc hash to rhashtable Florian Westphal
2016-07-05 10:07 ` [PATCH nf-next 1/2] netfilter: move nat hlist_head to nf_conn Florian Westphal
2016-07-11 10:10   ` Pablo Neira Ayuso
2016-07-05 10:07 ` [PATCH nf-next 2/6] netfilter: nat: convert nat bysrc hash to rhashtable Florian Westphal
2016-07-11 10:08   ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).