diff options
author | Menglong Dong <imagedong@tencent.com> | 2022-02-05 15:47:35 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-02-07 11:18:49 +0000 |
commit | 33cba42985c8144eef78d618fc1e51aaa074b169 (patch) | |
tree | 80cafa612b8048e554cce205ab3a378c4e833af7 /net/sched/act_vlan.c | |
parent | 2df3041ba3be950376e8c25a8f6da22f7fcc765c (diff) | |
download | linux-stable-33cba42985c8144eef78d618fc1e51aaa074b169.tar.gz linux-stable-33cba42985c8144eef78d618fc1e51aaa074b169.tar.bz2 linux-stable-33cba42985c8144eef78d618fc1e51aaa074b169.zip |
net: ipv4: use kfree_skb_reason() in ip_rcv_core()
Replace kfree_skb() with kfree_skb_reason() in ip_rcv_core(). Three new
drop reasons are introduced:
SKB_DROP_REASON_OTHERHOST
SKB_DROP_REASON_IP_CSUM
SKB_DROP_REASON_IP_INHDR
Signed-off-by: Menglong Dong <imagedong@tencent.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_vlan.c')
0 files changed, 0 insertions, 0 deletions