diff options
author | 2016-04-14 14:10:04 -0700 | |
---|---|---|
committer | 2016-04-14 17:50:44 -0400 | |
commit | da37845fdce24e174f44d020bc4085ddd1c8a6bd (patch) | |
tree | 51bd75c4238a4cab1709355823451d22702e5453 /net/sctp/inqueue.c | |
parent | tipc: fix a race condition leading to subscriber refcnt bug (diff) | |
download | linux-dev-da37845fdce24e174f44d020bc4085ddd1c8a6bd.tar.xz linux-dev-da37845fdce24e174f44d020bc4085ddd1c8a6bd.zip |
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: Weongyo Jeong <weongyo.linux@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/inqueue.c')
0 files changed, 0 insertions, 0 deletions