skb_head_is_locked(9)

skb_head_is_locked9

Determine if the skb->head is locked down

Usage

bool skb_head_is_locked(const struct sk_buff * skb);

Arguments

skb

skb to check

Overview

The head on skbs build around a head frag can be removed if they are not cloned. This function returns true if the skb head is locked down due to either being allocated via kmalloc, or by being a clone with multiple references to the head.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.