__skb_queue_purge

Name

__skb_queue_purge --  empty a list

Synopsis

void __skb_queue_purge (struct sk_buff_head * list);

Arguments

list

list to empty

Description

Delete all buffers on an &sk_buff list. Each buffer is removed from the list and one reference dropped. This function does not take the list lock and the caller must hold the relevant locks to use it.