net: ipv6: add skb drop reasons to ip6_pkt_drop()
authorMenglong Dong <imagedong@tencent.com>
Wed, 13 Apr 2022 08:15:54 +0000 (16:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 12:09:57 +0000 (13:09 +0100)
commit3ae42cc8092be3201093f277ac3b3d62c97a3767
tree6f80fd473ee16842b12a4284f0b45c89fb6cefd9
parentc4eb664191b4a5ff6856478f903924176697719e
net: ipv6: add skb drop reasons to ip6_pkt_drop()

Replace kfree_skb() used in ip6_pkt_drop() with kfree_skb_reason().
No new reason is added.

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>
net/ipv6/route.c