mirror-linux/net/ethtool
Kuniyuki Iwashima 82f9af464e ipv6: Remove in6addr_any alternatives.
[ Upstream commit 8cdc3223e7 ]

Some code defines the IPv6 wildcard address as a local variable and
use it with memcmp() or ipv6_addr_equal().

Let's use in6addr_any and ipv6_addr_any() instead.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Reviewed-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: aa99e5f87b ("tcp: Fix bind() regression for v4-mapped-v6 wildcard address.")
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:28:10 +02:00
..
Makefile
bitset.c
bitset.h
cabletest.c
channels.c
coalesce.c
common.c
common.h
debug.c
eee.c
eeprom.c
features.c
fec.c
ioctl.c ipv6: Remove in6addr_any alternatives. 2023-09-19 12:28:10 +02:00
linkinfo.c
linkmodes.c
linkstate.c
module.c
netlink.c
netlink.h
pause.c
phc_vclocks.c
privflags.c
pse-pd.c
rings.c
stats.c
strset.c
tsinfo.c
tunnels.c
wol.c