SysTutorials

Linux Manual Pages › Section 9

consume_skb(9)

consume_skb - free an skbuff

Synopsis

void consume_skb(struct sk_buff *skb);

Arguments

skb

buffer to free

Description

Drop a ref to the buffer and free it if the usage count has hit zero Functions identically to kfree_skb, but kfree_skb assumes that the frame is being dropped after a failure and notes that

Copyright