Thread (23 messages) 23 messages, 2 authors, 2025-12-02

Re: [PATCH net-next 11/12] ipvlan: Ignore PACKET_LOOPBACK in handle_mode_l2()

From: Paolo Abeni <pabeni@redhat.com>
Date: 2025-11-25 14:30:44
Also in: lkml

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 <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help