---
name: "skb_head_is_locked"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/skb_head_is_locked"
---

# skb\_head\_is\_locked(9)

Determine if the skb-\>head is locked down

## 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.

## COPYRIGHT
