[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250619102000.GG1699@horms.kernel.org>
Date: Thu, 19 Jun 2025 11:20:00 +0100
From: Simon Horman <horms@...nel.org>
To: Breno Leitao <leitao@...ian.org>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
jv@...sburgh.ne, netdev@...r.kernel.org,
linux-kernel@...r.kernel.org, gustavold@...il.com
Subject: Re: [PATCH 3/3] netpoll: Extract IPv6 address retrieval function
On Wed, Jun 18, 2025 at 02:32:47AM -0700, Breno Leitao wrote:
> Extract the IPv6 address retrieval logic from netpoll_setup() into
> a dedicated helper function netpoll_take_ipv6() to improve code
> organization and readability.
>
> The function handles obtaining the local IPv6 address from the
> network device, including proper address type matching between
> local and remote addresses (link-local vs global), and includes
> appropriate error handling when IPv6 is not supported or no
> suitable address is available.
>
> Signed-off-by: Breno Leitao <leitao@...ian.org>
Reviewed-by: Simon Horman <horms@...nel.org>
Powered by blists - more mailing lists