Re: [PATCH net-next 8/9] netconsole: move local_ip/remote_ip/ipv6 to netconsole_target
From: Gustavo Luiz Duarte
Date: Wed Jul 29 2026 - 10:31:48 EST
On Fri, Jul 24, 2026 at 4:05 PM Breno Leitao <leitao@xxxxxxxxxx> wrote:
>
> With netpoll_setup() and the packet-building path now living in
> netconsole, local_ip, remote_ip and ipv6 in struct netpoll are read
> and written only by netconsole. No other netpoll user touches them.
>
> Move the three fields into netconsole_target and switch the packet
> builders and setup helpers to take the target instead of the netpoll
> handle. struct netpoll is left holding only the device-binding state
> that the shared netpoll transport needs.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>
Reviewed-by: Gustavo Luiz Duarte <gustavold@xxxxxxxxx>