[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ea2db7e6-bc4b-4717-a188-faab3c13ef5c@redhat.com>
Date: Tue, 25 Nov 2025 15:30:38 +0100
From: Paolo Abeni <pabeni@...hat.com>
To: Dmitry Skorodumov <skorodumov.dmitry@...wei.com>, netdev@...r.kernel.org,
Jakub Kicinski <kuba@...nel.org>, Ido Schimmel <idosch@...dia.com>,
Eric Dumazet <edumazet@...gle.com>, Julian Vetter <julian@...er-limits.org>,
Guillaume Nault <gnault@...hat.com>, linux-kernel@...r.kernel.org
Cc: andrey.bokhanko@...wei.com, Andrew Lunn <andrew+netdev@...n.ch>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH net-next 11/12] ipvlan: Ignore PACKET_LOOPBACK in
handle_mode_l2()
On 11/20/25 6:49 PM, Dmitry Skorodumov wrote:
> Packets with pkt_type == PACKET_LOOPBACK are captured by
> handle_frame() function, but they don't have L2 header.
> We should not process them in handle_mode_l2().
>
> This doesn't affect old L2 functionality, since handling
> was anyway incorrect.
>
> Handle them the same way as in br_handle_frame():
> just pass the skb.
>
> To observe invalid behaviour, just start "ping -b" on bcast address
> of port-interface.
>
> Signed-off-by: Dmitry Skorodumov <skorodumov.dmitry@...wei.com>
Again, this looks like a fix suitable for 'net'.
Also the condition described above looks easily reproducible, you should
add a specific self-test.
/P
Powered by blists - more mailing lists