Re: [PATCH net] net/ipv6: don't route packets with unknown source address
From: Íñigo Huguet
Date: Wed Sep 02 2026 - 06:12:16 EST
On Tue, Sep 1, 2026 at 7:41 PM Matthieu Baerts <matttbe@xxxxxxxxxx> wrote:
> Thank you for looking at this, but I think your patch is causing
> multiple KASAN warnings, e.g.
>
> https://netdev-ctrl.bots.linux.dev/logs/vmksft/net-extra-dbg/results/804584/24-connect-deny-ipv6/stderr
>
> And a few more, see:
>
> https://netdev.bots.linux.dev/branch_deltas/net-next-2026-09-01--15-01.html
As far as I can see all the warnings are in the tcp_v6_send_response
function. I guess that sk may be a request socket there, so it's not
valid to treat it as a inet_sk in all cases. I will send a v2 with the
fix.
Thanks!
--
Íñigo Huguet