Files
twx-linux/include/linux
Jason A. Donenfeld dd28e735df icmp: allow icmpv6_ndo_send to work with CONFIG_IPV6=n
commit a8e41f6033 upstream.

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: 0b41713b60 ("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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-03-04 10:26:52 +01:00
..
2021-01-23 15:57:55 +01:00
2021-01-30 13:54:11 +01:00
2021-01-06 14:48:35 +01:00
2021-03-04 10:26:29 +01:00
2021-02-07 15:35:49 +01:00
2020-12-11 13:23:28 +01:00