1SKB_RECYCLE_CHECK(9) Linux Networking SKB_RECYCLE_CHECK(9)
2
3
4
6 skb_recycle_check - check if skb can be reused for receive
7
9 bool skb_recycle_check(struct sk_buff * skb, int skb_size);
10
12 skb
13 buffer
14
15 skb_size
16 minimum receive buffer size
17
19 Checks that the skb passed in is not shared or cloned, and that it is
20 linear and its head portion at least as large as skb_size so that it
21 can be recycled as a receive buffer. If these conditions are met, this
22 function does any necessary reference count dropping and cleans up the
23 skbuff as if it just came from __alloc_skb.
24
26Kernel Hackers Manual 2.6. November 2011 SKB_RECYCLE_CHECK(9)