netfilter: Reorder fields in 'struct nf_conntrack_expect'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Mon, 8 May 2023 16:53:14 +0000 (18:53 +0200)
committerFlorian Westphal <fw@strlen.de>
Thu, 18 May 2023 06:48:54 +0000 (08:48 +0200)
commit61e03e912da8212c3de2529054502e8388dfd484
tree56fb06a40477351022dd4c15c500e0927f51905e
parentb9f9a485fb0eb80b0e2b90410b28cbb9b0e85687
netfilter: Reorder fields in 'struct nf_conntrack_expect'

Group some variables based on their sizes to reduce holes.
On x86_64, this shrinks the size of 'struct nf_conntrack_expect' from 264
to 256 bytes.

This structure deserve a dedicated cache, so reducing its size looks nice.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Florian Westphal <fw@strlen.de>
include/net/netfilter/nf_conntrack_expect.h