diff options
author | Weongyo Jeong <weongyo.linux@gmail.com> | 2016-04-14 14:10:04 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-14 17:50:44 -0400 |
commit | da37845fdce24e174f44d020bc4085ddd1c8a6bd (patch) | |
tree | 51bd75c4238a4cab1709355823451d22702e5453 /net/core/dev.c | |
parent | 333f796235a52727db7e0a13888045f3aa3d5335 (diff) | |
download | linux-stable-da37845fdce24e174f44d020bc4085ddd1c8a6bd.tar.gz linux-stable-da37845fdce24e174f44d020bc4085ddd1c8a6bd.tar.bz2 linux-stable-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/core/dev.c')
0 files changed, 0 insertions, 0 deletions