aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/thunderbolt.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-02-25 18:05:35 +0800
committerDavid S. Miller <davem@davemloft.net>2020-02-25 11:01:39 -0800
commita8e41f6033a0c5633d55d6e35993c9e2005d872f (patch)
tree4aa8f0b328d331d013dd8687e55638e417dec65e /include/linux/thunderbolt.h
parentMerge tag 'mac80211-for-net-2020-02-24' of git://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211 (diff)
downloadlinux-dev-a8e41f6033a0c5633d55d6e35993c9e2005d872f.tar.xz
linux-dev-a8e41f6033a0c5633d55d6e35993c9e2005d872f.zip
icmp: allow icmpv6_ndo_send to work with CONFIG_IPV6=n
The icmpv6_send function has long had a static inline implementation with an empty body for CONFIG_IPV6=n, so that code calling it doesn't need to be ifdef'd. The new icmpv6_ndo_send function, which is intended for drivers as a drop-in replacement with an identical function signature, should follow the same pattern. Without this patch, drivers that used to work with CONFIG_IPV6=n now result in a linker error. Cc: Chen Zhou <chenzhou10@huawei.com> Reported-by: Hulk Robot <hulkci@huawei.com> Fixes: 0b41713b6066 ("icmp: introduce helper for nat'd source address in network device context") Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/thunderbolt.h')
0 files changed, 0 insertions, 0 deletions