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