diff options
author | Holger Eitzenberger | 2009-03-25 21:50:59 +0100 |
---|---|---|
committer | Patrick McHardy | 2009-03-25 21:50:59 +0100 |
commit | 2732c4e45bb67006fdc9ae6669be866762711ab5 (patch) | |
tree | d9ab37014adad2709cbb0a198eb2c48921d62420 /drivers/char/digiFep1.h | |
parent | netfilter: nf_conntrack: use SLAB_DESTROY_BY_RCU and get rid of call_rcu() (diff) | |
download | kernel-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 'drivers/char/digiFep1.h')
0 files changed, 0 insertions, 0 deletions