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

# sk\_eat\_skb(9)

Release a skb if it is no longer needed

## NAME

sk\_eat\_skb - Release a skb if it is no longer needed

## SYNOPSIS

**void sk\_eat\_skb(struct sock \*** *sk***, struct sk\_buff \*** *skb***);**

## ARGUMENTS

*sk*

socket to eat this skb from

*skb*

socket buffer to eat

## DESCRIPTION

This routine must be called with interrupts disabled or with the socket locked so that the sk\_buff queue operation is ok.

## COPYRIGHT
