ipv6: icmp6: avoid indirect call for icmpv6_send()
authorEric Dumazet <edumazet@google.com>
Fri, 19 Jun 2020 19:02:59 +0000 (12:02 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Jun 2020 20:41:59 +0000 (13:41 -0700)
commitcc7a21b6fbd945f8d8f61422ccd27203c1fafeb7
tree90d5b4982f3d802d0e3c90f888aa74781bca6f43
parente9f0809fb91015b85d159dbfdc64f705fda08712
ipv6: icmp6: avoid indirect call for icmpv6_send()

If IPv6 is builtin, we do not need an expensive indirect call
to reach icmp6_send().

v2: put inline keyword before the type to avoid sparse warnings.

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/icmpv6.h
net/ipv6/icmp.c
net/ipv6/ip6_icmp.c