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-07-24 10:47:27 -07:00
2008-09-22 19:24:45 -07:00
2008-09-22 19:48:19 -07:00
2008-07-24 10:47:27 -07:00
2008-09-22 20:03:00 -07:00
2008-09-22 20:03:00 -07:00
2005-04-16 15:20:36 -07:00