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-01 00:45:17 -08: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
2009-02-01 00:45:17 -08:00
2009-03-25 21:05:46 +01:00
2008-11-18 11:56:20 +01:00
2009-03-25 21:05:46 +01:00
2008-07-26 17:50:05 -07:00
2008-11-25 18:23:03 +01:00
2009-02-01 00:45:17 -08:00
2009-03-25 21:05:46 +01:00
2008-11-17 16:01:42 +01:00
2009-02-01 00:45:17 -08:00
2009-03-25 21:50:59 +01:00
2009-02-01 00:45:17 -08:00
2009-03-16 16:30:49 +01:00
2009-02-18 16:28:35 +01:00
2008-11-20 10:01:37 +01:00
2008-11-24 13:47:21 +01:00
2009-03-16 15:15:35 +01:00
2009-03-16 15:15:35 +01:00
2008-11-03 18:21:05 -08:00
2009-03-25 18:24:48 +01:00
2008-11-17 16:01:42 +01:00
2008-11-17 16:01:42 +01:00
2009-03-25 21:05:46 +01:00
2008-11-17 16:01:42 +01:00
2008-10-08 11:35:00 +02:00
2009-03-23 13:16:53 +01:00
2008-10-08 11:35:00 +02:00
2008-10-08 11:35:11 +02:00
2009-02-04 16:55:27 -08:00
2009-03-16 14:54:21 +01:00
2008-07-19 22:34:43 -07:00
2009-03-23 13:21:06 +01:00
2009-02-20 10:35:32 +01:00
2008-10-08 11:35:19 +02:00
2009-03-16 17:10:36 +01:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2009-03-25 21:05:46 +01:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:20 +02:00
2008-12-14 23:19:02 -08:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2009-02-24 15:30:29 +01:00
2008-10-08 11:35:20 +02:00
2009-02-18 18:39:31 +01:00
2009-02-18 18:38:40 +01:00
2008-10-31 00:54:29 -07:00
2009-02-20 10:55:14 +01:00
2008-10-08 11:35:18 +02:00
2009-03-16 15:35:29 +01:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:18 +02:00
2008-11-04 14:21:08 +01:00
2008-10-20 03:34:51 -07:00
2008-10-08 11:35:20 +02:00
2008-11-14 10:39:25 +11:00
2009-03-25 17:31:52 +01:00
2008-10-08 11:35:20 +02:00
2008-10-08 11:35:18 +02:00
2009-03-16 15:35:29 +01:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:20 +02:00
2008-11-20 09:57:01 +01:00
2009-02-09 14:34:56 -08:00
2008-10-08 11:35:19 +02:00
2008-12-07 23:53:46 -08:00
2008-10-08 11:35:19 +02:00
2009-03-16 15:35:29 +01:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00
2009-01-12 21:18:36 -08:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:19 +02:00
2008-10-08 11:35:18 +02:00