consume_skb (9) - Linux Manuals

consume_skb: free an skbuff

NAME

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