SK_EAT_SKB

Section: Linux Networking (9)
Updated: February 2011
Index Return to Main Contents
 

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, int copied_early);
 

ARGUMENTS

sk

socket to eat this skb from

skb

socket buffer to eat

copied_early

flag indicating whether DMA operations copied this data early
 

DESCRIPTION

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

COPYRIGHT