[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <309a47d4-86bb-2a06-1910-3f080719ed59@kernel.org>
Date: Tue, 28 Mar 2023 08:32:48 -0600
From: David Ahern <dsahern@...nel.org>
To: Kuniyuki Iwashima <kuniyu@...zon.com>,
"David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Kuniyuki Iwashima <kuni1840@...il.com>, netdev@...r.kernel.org
Subject: Re: [PATCH v2 net-next 1/2] ipv6: Remove in6addr_any alternatives.
On 3/27/23 5:54 PM, Kuniyuki Iwashima wrote:
> 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@...zon.com>
> ---
> .../net/ethernet/mellanox/mlx5/core/en/tc_tun_encap.c | 5 ++---
> include/net/ip6_fib.h | 9 +++------
> include/trace/events/fib.h | 5 ++---
> include/trace/events/fib6.h | 5 +----
> net/ethtool/ioctl.c | 10 +++++-----
> net/ipv4/inet_hashtables.c | 11 ++++-------
> 6 files changed, 17 insertions(+), 28 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists