__skb_dequeue

Name

__skb_dequeue --  remove from the head of the queue

Synopsis

struct sk_buff * __skb_dequeue (struct sk_buff_head * list);

Arguments

list

list to dequeue from

Description

Remove the head of the list. This function does not take any locks so must be used with appropriate locks held only. The head item is returned or NULL if the list is empty.