Skip to content
Commit da37845f authored by Weongyo Jeong's avatar Weongyo Jeong Committed by David S. Miller
Browse files

packet: uses kfree_skb() for errors.



consume_skb() isn't for error cases that kfree_skb() is more proper
one.  At this patch, it fixed tpacket_rcv() and packet_rcv() to be
consistent for error or non-error cases letting perf trace its event
properly.

Signed-off-by: default avatarWeongyo Jeong <weongyo.linux@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 333f7962
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment