diff options
| author | Dmitry Skorodumov <skorodumov.dmitry@huawei.com> | 2025-12-02 13:39:03 +0300 |
|---|---|---|
| committer | Paolo Abeni <pabeni@redhat.com> | 2025-12-04 13:43:12 +0100 |
| commit | 0c57ff008a11f24f7f05fa760222692a00465fec (patch) | |
| tree | 199215cfa04409dffc4b72bff72183a65a8ed664 /drivers/mfd/sm501.c | |
| parent | 5b48f49ee94888f3cd4360286ee9921eff2b2e46 (diff) | |
| download | net-main.tar.gz | |
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.
Fixes: 2ad7bf363841 ("ipvlan: Initial check-in of the IPVLAN driver.")
Signed-off-by: Dmitry Skorodumov <skorodumov.dmitry@huawei.com>
Link: https://patch.msgid.link/20251202103906.4087675-1-skorodumov.dmitry@huawei.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/mfd/sm501.c')
0 files changed, 0 insertions, 0 deletions
