consume_skb(9) 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