]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipv6: add skb drop reasons to ip6_protocol_deliver_rcu()
authorMenglong Dong <imagedong@tencent.com>
Wed, 13 Apr 2022 08:16:00 +0000 (16:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 12:09:57 +0000 (13:09 +0100)
commit4ffcf78bc593c2a42be14ac2861bd8a5154c7697
treec5d27f25d03a1d7d275b1fadabf192dc1432770e
parent8f81907aa131b9d446fb30c72e60febbe2fbda61
net: ipv6: add skb drop reasons to ip6_protocol_deliver_rcu()

Replace kfree_skb() used in ip6_protocol_deliver_rcu() with
kfree_skb_reason().

No new reasons are added.

Some paths are ignored, as they are not common, such as encapsulation
on non-final protocol.

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/ip6_input.c