Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 98EB2333AA7 for ; Wed, 17 Sep 2025 15:33:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758123193; cv=none; b=AL7LeD0UBASlwhd375ojnYzuBlPEGZsseTOSwhbZFncifgNAU4nN0GJIlxDCWROhlgvIPmE4QkvnWraq9MJp+NRgO0lLD19yDwA7YdS76kq1U6rLTYu4FJJP3w+2BztMnoaedrakquxEDfFfulucVxg6zsopB/5GMbBfbyFZz9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758123193; c=relaxed/simple; bh=0eHJKUg9Z9QwSL1QKlQ9WcBEPmU6m6jNIupR+6jrlUU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=nsygrbwc/W41pHXKgj8q8boozpFtoP8iFwSKtIa/RBo/EF5hY0x3poyIp6tqPfTllV+r4QKfDm0XllgeY5k4b7zOyTd9432IhTPvM2Ubh1d1bHuaRrfWS151OcSvygfsR+axXkZhS/J7mjaty28ejvU8F3ITv1V1tas8D7w0Kio= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l66zIifN; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l66zIifN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D10CCC4CEE7; Wed, 17 Sep 2025 15:33:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1758123193; bh=0eHJKUg9Z9QwSL1QKlQ9WcBEPmU6m6jNIupR+6jrlUU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=l66zIifNxSnT1U3KP2jCIL3a3bJYVA2V3YYg6zQWV3x1/AJyW6gayVi+eWS89KQdH hTACyPeQaLl5Q0jJIwDjA2pz0FFzubv9rj20UtKMbfDT+BtG/xSxwl75tgWdBthMBi fI06lnwtTajLCpYLUtWatONu+8SrpistTTFzIenZXdjbLG/p9yQqZOGk85dX9q05Nf WrF8v0g7IJVfCh9u40Ym9fRuRn+wSOZLH78k/WaZGxhSZ42eDtqb80yRNVszI59zPn mXk3/h6OuhyfDk+MhuBTUjFQnr4IcLiuvtJDl6qshUCU1ho5PRB0agp/iwiCEf2/or beKHwli25fvyw== Message-ID: Date: Wed, 17 Sep 2025 09:33:12 -0600 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH net-next 02/10] ipv6: make ipv6_pinfo.daddr_cache a boolean Content-Language: en-US To: Eric Dumazet , "David S . Miller" , Jakub Kicinski , Paolo Abeni Cc: Simon Horman , Willem de Bruijn , Kuniyuki Iwashima , netdev@vger.kernel.org, eric.dumazet@gmail.com References: <20250916160951.541279-1-edumazet@google.com> <20250916160951.541279-3-edumazet@google.com> From: David Ahern In-Reply-To: <20250916160951.541279-3-edumazet@google.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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 > --- > 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