]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit71c65e27625a41c4cc94b434f4cee8e0f9ba40a6
tree90d5b4982f3d802d0e3c90f888aa74781bca6f43
parent25c854e2eedbd4360193f8c44d41b3617df98cd3
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