[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <b955eb49-a177-4aaf-9e5a-e2a9ddeef1cf@kernel.org>
Date: Wed, 17 Sep 2025 09:30:32 -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 01/10] ipv6: make ipv6_pinfo.saddr_cache a
boolean
On 9/16/25 10:09 AM, Eric Dumazet wrote:
> ipv6_pinfo.saddr_cache is either NULL or &np->saddr.
>
> We do not need 8 bytes, a boolean is enough.
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> include/linux/ipv6.h | 4 ++--
> 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 | 4 ++--
> net/ipv6/tcp_ipv6.c | 4 ++--
> 7 files changed, 12 insertions(+), 11 deletions(-)
>
Reviewed-by: David Ahern <dsahern@...nel.org>
Powered by blists - more mailing lists