]> git.baikalelectronics.ru Git - kernel.git/commit
net: icmp: introduce function icmpv6_param_prob_reason()
authorMenglong Dong <imagedong@tencent.com>
Wed, 13 Apr 2022 08:15:56 +0000 (16:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 13 Apr 2022 12:09:57 +0000 (13:09 +0100)
commit09f68062b38af68a7efdabc2775e28b9385d6a9d
tree9c7dd8f3c9ce28a82bdaa7348f99b320c7b033ca
parent00acdeaf443f75805dea517f2110a2a33bc61753
net: icmp: introduce function icmpv6_param_prob_reason()

In order to add the skb drop reasons support to icmpv6_param_prob(),
introduce the function icmpv6_param_prob_reason() and make
icmpv6_param_prob() an inline call to it. This new function will be
used in the following patches.

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>
include/linux/icmpv6.h
net/ipv6/icmp.c