Files
linux-legacy/net/netfilter
Holger Eitzenberger 2732c4e45b 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>
2009-03-25 21:50:59 +01:00
..
2009-02-18 16:29:08 +01:00
2009-03-25 17:21:34 +01:00
2009-03-16 17:10:36 +01:00
2008-11-03 18:21:05 -08:00
2008-11-03 18:21:05 -08:00
2008-12-14 23:19:02 -08:00
2009-02-24 15:30:29 +01:00
2008-11-14 10:39:25 +11:00