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-06 22:07:41 -08:00
2009-01-21 14:02:00 -08:00
2009-01-07 17:23:17 -08:00
2009-01-04 17:29:21 -08:00
2009-01-06 10:44:34 -08:00
2009-01-25 20:49:14 -08:00
2009-03-25 18:26:30 +01:00
2009-01-21 14:02:02 -08:00
2009-01-21 14:02:04 -08:00
2009-01-11 00:06:33 -08:00