Eric Dumazet 9ce7bc036a netfilter: ipv6: nf_defrag: reduce struct net memory waste
It is a waste of memory to use a full "struct netns_sysctl_ipv6"
while only one pointer is really used, considering netns_sysctl_ipv6
keeps growing.

Also, since "struct netns_frags" has cache line alignment,
it is better to move the frags_hdr pointer outside, otherwise
we spend a full cache line for this pointer.

This saves 192 bytes of memory per netns.

Fixes: c038a767cd69 ("ipv6: add a new namespace for nf_conntrack_reasm")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2018-06-18 14:13:25 +02:00
..
2018-03-27 13:18:09 -04:00
2018-05-11 00:10:56 +02:00
2017-05-21 13:42:36 -04:00
2018-06-12 16:19:22 -07:00
2018-04-26 15:07:42 -04:00
2018-02-28 11:43:28 -05:00
2018-05-24 11:57:35 +02:00
2016-12-25 17:21:23 +01:00
2018-05-16 07:24:30 +02:00
2018-05-16 07:24:30 +02:00
2017-09-01 18:35:23 -07:00