---
name: "skb_orphan_frags"
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_orphan_frags"
---

# skb\_orphan\_frags(9)

orphan the frags contained in a buffer

## NAME

skb\_orphan\_frags - orphan the frags contained in a buffer

## SYNOPSIS

**int skb\_orphan\_frags(struct sk\_buff \*** *skb***, gfp\_t** *gfp\_mask***);**

## ARGUMENTS

*skb*

buffer to orphan frags from

*gfp\_mask*

allocation mask for replacement pages

## DESCRIPTION

For each frag in the SKB which needs a destructor (i.e. has an owner) create a copy of that frag and release the original page by calling the destructor.

## COPYRIGHT
