]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4b70cf5e51347067f969c2e2891e3afb7ed5a6c1
tree6f80fd473ee16842b12a4284f0b45c89fb6cefd9
parentd15f5f063df77728f6927cdfab2cb91ed976d43f
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