summaryrefslogtreecommitdiffstats
path: root/virt
diff options
context:
space:
mode:
authorAaron Conole2016-09-21 17:35:07 +0200
committerPablo Neira Ayuso2016-09-25 14:38:48 +0200
commite3b37f11e6e4e6b6f02cc762f182ce233d2c1c9d (patch)
tree09f9f1a8b9e8e7e173e1059c5e251c19a9852df6 /virt
parentnetfilter: nf_queue: whitespace cleanup (diff)
downloadkernel-qcow2-linux-e3b37f11e6e4e6b6f02cc762f182ce233d2c1c9d.tar.gz
kernel-qcow2-linux-e3b37f11e6e4e6b6f02cc762f182ce233d2c1c9d.tar.xz
kernel-qcow2-linux-e3b37f11e6e4e6b6f02cc762f182ce233d2c1c9d.zip
netfilter: replace list_head with single linked list
The netfilter hook list never uses the prev pointer, and so can be trimmed to be a simple singly-linked list. In addition to having a more light weight structure for hook traversal, struct net becomes 5568 bytes (down from 6400) and struct net_device becomes 2176 bytes (down from 2240). Signed-off-by: Aaron Conole <aconole@bytheb.org> Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions