Name

skb_head_is_locked — Determine if the skb->head is locked down

Synopsis

bool skb_head_is_locked (const struct sk_buff * skb);
 

Arguments

skb

skb to check

Description

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.