aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/sched/cls_api.c
diff options
context:
space:
mode:
authorMenglong Dong <imagedong@tencent.com>2022-04-13 16:15:59 +0800
committerDavid S. Miller <davem@davemloft.net>2022-04-13 13:09:57 +0100
commit4daf841a2ef3b2e987894c8107d309ce2b67c202 (patch)
tree79427ac742a6b97f046b42a58304d723461c5863 /net/sched/cls_api.c
parentnet: ipv6: add skb drop reasons to TLV parse (diff)
downloadwireguard-linux-4daf841a2ef3b2e987894c8107d309ce2b67c202.tar.xz
wireguard-linux-4daf841a2ef3b2e987894c8107d309ce2b67c202.zip
net: ipv6: add skb drop reasons to ip6_rcv_core()
Replace kfree_skb() used in ip6_rcv_core() with kfree_skb_reason(). No new drop reasons are added. Seems now we use 'SKB_DROP_REASON_IP_INHDR' for too many case during ipv6 header parse or check, just like what 'IPSTATS_MIB_INHDRERRORS' do. Will it be too general and hard to know what happened? Signed-off-by: Menglong Dong <imagedong@tencent.com> Reviewed-by: Jiang Biao <benbjiang@tencent.com> Reviewed-by: Hao Peng <flyingpeng@tencent.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions