summaryrefslogtreecommitdiffstats
path: root/include/keys
diff options
context:
space:
mode:
authorHolger Eitzenberger2009-03-25 21:50:59 +0100
committerPatrick McHardy2009-03-25 21:50:59 +0100
commit2732c4e45bb67006fdc9ae6669be866762711ab5 (patch)
treed9ab37014adad2709cbb0a198eb2c48921d62420 /include/keys
parentnetfilter: nf_conntrack: use SLAB_DESTROY_BY_RCU and get rid of call_rcu() (diff)
downloadkernel-qcow2-linux-2732c4e45bb67006fdc9ae6669be866762711ab5.tar.gz
kernel-qcow2-linux-2732c4e45bb67006fdc9ae6669be866762711ab5.tar.xz
kernel-qcow2-linux-2732c4e45bb67006fdc9ae6669be866762711ab5.zip
netfilter: ctnetlink: allocate right-sized ctnetlink skb
Try to allocate a Netlink skb roughly the size of the actual message, with the help from the l3 and l4 protocol helpers. This is all to prevent a reallocation in netlink_trim() later. The overhead of allocating the right-sized skb is rather small, with ctnetlink_alloc_skb() actually being inlined away on my x86_64 box. The size of the per-proto space is determined at registration time of the protocol helper. Signed-off-by: Holger Eitzenberger <holger@eitzenberger.org> Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'include/keys')
0 files changed, 0 insertions, 0 deletions