commit | da37845fdce24e174f44d020bc4085ddd1c8a6bd | [log] [tgz] |
---|---|---|
author | Weongyo Jeong <weongyo.linux@gmail.com> | Thu Apr 14 14:10:04 2016 -0700 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 14 17:50:44 2016 -0400 |
tree | 51bd75c4238a4cab1709355823451d22702e5453 | |
parent | 333f796235a52727db7e0a13888045f3aa3d5335 [diff] |
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>