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

# netif\_receive\_skb(9)

process receive buffer from network

## NAME

netif\_receive\_skb - process receive buffer from network

## SYNOPSIS

**int netif\_receive\_skb(struct sk\_buff \*** *skb***);**

## ARGUMENTS

*skb*

buffer to process

## DESCRIPTION

**netif\_receive\_skb** is the main receive data processing function. It always succeeds. The buffer may be dropped during processing for congestion control or by the protocol layers.

This function may only be called from softirq context and interrupts should be enabled.

Return values (usually ignored): NET\_RX\_SUCCESS: no congestion NET\_RX\_DROP: packet was dropped

## COPYRIGHT
