[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <a694fead-4e27-4eb2-b1c5-6a283b6a30f8@kernel.org>
Date: Wed, 17 Sep 2025 09:33:12 -0600
From: David Ahern <dsahern@...nel.org>
To: Eric Dumazet <edumazet@...gle.com>, "David S . Miller"
<davem@...emloft.net>, Jakub Kicinski <kuba@...nel.org>,
Paolo Abeni <pabeni@...hat.com>
Cc: Simon Horman <horms@...nel.org>, Willem de Bruijn <willemb@...gle.com>,
Kuniyuki Iwashima <kuniyu@...gle.com>, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH net-next 02/10] ipv6: make ipv6_pinfo.daddr_cache a
boolean
On 9/16/25 10:09 AM, Eric Dumazet wrote:
> ipv6_pinfo.daddr_cache is either NULL or &sk->sk_v6_daddr
>
> We do not need 8 bytes, a boolean is enough.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> include/linux/ipv6.h | 2 +-
> include/net/ip6_route.h | 4 ++--
> net/ipv6/af_inet6.c | 2 +-
> net/ipv6/inet6_connection_sock.c | 2 +-
> net/ipv6/ip6_output.c | 3 ++-
> net/ipv6/route.c | 3 +--
> net/ipv6/tcp_ipv6.c | 4 ++--
> 7 files changed, 10 insertions(+), 10 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists