Lennert Buytenhek
04a4bb55bc
net: add skb_recycle_check() to enable netdriver skb recycling
...
This patch adds skb_recycle_check(), which can be used by a network
driver after transmitting an skb to check whether this skb can be
recycled as a receive buffer.
skb_recycle_check() checks that the skb is not shared or cloned, and
that it is linear and its head portion large enough (as determined by
the driver) to be recycled as a receive buffer. If these conditions
are met, it does any necessary reference count dropping and cleans
up the skbuff as if it just came from __alloc_skb().
Signed-off-by: Lennert Buytenhek <buytenh@marvell.com >
Signed-off-by: David S. Miller <davem@davemloft.net >
2008-10-01 02:33:12 -07:00
..
2008-08-29 16:24:07 -04:00
2008-09-12 16:30:20 -07:00
2008-08-18 21:40:05 +02:00
2008-08-27 09:50:20 +02:00
2008-09-05 11:11:51 +02:00
2008-08-15 08:35:44 -07:00
2008-09-06 19:22:15 +02:00
2008-08-25 01:18:05 -04:00
2008-09-09 13:27:22 +02:00
2008-08-21 10:15:37 -07:00
2008-08-20 13:19:51 -07:00
2008-08-20 15:40:32 -07:00
2008-08-23 12:14:12 -07:00
2008-08-15 08:35:42 -07:00
2008-08-27 09:50:19 +02:00
2008-08-28 08:33:23 +02:00
2008-09-02 20:18:47 +02:00
2008-09-24 16:18:02 -04:00
2008-09-22 19:51:15 -07:00
2008-09-22 21:28:11 -07:00
2008-10-01 01:30:19 -07:00
2008-08-15 19:52:19 -07:00
2008-09-22 21:28:11 -07:00
2008-08-29 20:25:20 -07:00
2008-08-15 09:26:14 +10:00
2008-09-22 01:15:02 -07:00
2008-08-16 16:46:57 -07:00
2008-08-16 16:46:57 -07:00
2008-09-30 02:53:18 -07:00
2008-08-15 08:35:42 -07:00
2008-08-25 17:28:25 +03:00
2008-08-22 02:27:49 -04:00
2008-09-01 09:47:16 +02:00
2008-08-16 16:45:56 -07:00
2008-08-16 16:45:56 -07:00
2008-08-29 14:37:23 -07:00
2008-08-29 14:37:23 -07:00
2008-09-05 06:33:59 +02:00
2008-08-26 10:37:20 -07:00
2008-09-30 02:22:14 -07:00
2008-09-22 19:48:19 -07:00
2008-09-15 16:48:19 -04:00
2008-09-24 18:54:46 -04:00
2008-08-18 13:48:04 -07:00
2008-09-22 20:09:13 -07:00
2008-09-19 05:13:54 +02:00
2008-08-20 15:40:32 -07:00
2008-08-29 14:37:23 -07:00
2008-09-12 16:29:34 -07:00
2008-09-02 19:21:38 -07:00
2008-08-15 08:35:42 -07:00
2008-09-05 14:39:37 -07:00
2008-08-22 16:29:57 -04:00
2008-08-20 15:40:32 -07:00
2008-09-22 19:51:15 -07:00
2008-09-05 18:14:35 +02:00
2008-08-17 22:47:30 +10:00
2008-10-01 02:33:12 -07:00
2008-09-22 19:51:15 -07:00
2008-08-26 00:19:27 +10:00
2008-08-15 08:35:42 -07:00
2008-09-20 21:24:21 -07:00
2008-08-21 09:54:06 +02:00
2008-09-05 14:39:38 -07:00
2008-08-15 10:34:07 -07:00
2008-08-15 10:34:07 -07:00
2008-08-21 10:26:36 -07:00
2008-09-03 18:37:45 -03:00
2008-08-16 16:45:56 -07:00
2008-08-15 10:34:07 -07:00