diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-02-25 11:05:35 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-25 20:01:39 +0100 |
commit | a8e41f6033a0c5633d55d6e35993c9e2005d872f (patch) | |
tree | 4aa8f0b328d331d013dd8687e55638e417dec65e /net | |
parent | Merge tag 'mac80211-for-net-2020-02-24' of git://git.kernel.org/pub/scm/linux... (diff) | |
download | linux-a8e41f6033a0c5633d55d6e35993c9e2005d872f.tar.xz linux-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 'net')
0 files changed, 0 insertions, 0 deletions