OSDN Git Service

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)
commit1ad6d548e2a452f21bcee4606ee4ec7afcde5f37
tree9c7dd8f3c9ce28a82bdaa7348f99b320c7b033ca
parent2edc1a383fda8d2f580216292dfd9daeae691e47
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