---
name: "skb_queue_purge"
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_queue_purge"
---

# skb\_queue\_purge(9)

empty a list

## NAME

skb\_queue\_purge - empty a list

## SYNOPSIS

**void skb\_queue\_purge(struct sk\_buff\_head \*** *list***);**

## ARGUMENTS

*list*

list to empty

## DESCRIPTION

Delete all buffers on an sk\_buff list. Each buffer is removed from the list and one reference dropped. This function takes the list lock and is atomic with respect to other list locking functions.

## COPYRIGHT
