skb_recycle_check(9)

skb_recycle_check9

Check if skb can be reused for receive

Usage

bool skb_recycle_check(struct sk_buff * skb, int skb_size);

Arguments

skb

buffer

skb_size

minimum receive buffer size

Overview

Checks that the skb passed in is not shared or cloned, and that it is linear and its head portion at least as large as skb_size so that it can be recycled as a receive buffer. If these conditions are met, this function does any necessary reference count dropping and cleans up the skbuff as if it just came from __alloc_skb.

Releases

2 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7

From linux-manual-3.2 3.2.78-1 in Debian 7 (Wheezy). Parsed by carta from the page's man source.