---
name: "consume_skb"
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/consume_skb"
---

# consume\_skb(9)

free an skbuff

## NAME

consume\_skb - free an skbuff

## SYNOPSIS

**void consume\_skb(struct sk\_buff \*** *skb***);**

## ARGUMENTS

*skb*

buffer to free

## DESCRIPTION

Drop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree\_skb, but kfree\_skb assumes that the frame is being dropped after a failure and notes that

## COPYRIGHT
