diff options
| author | Yan Zhai <[email protected]> | 2023-07-13 17:28:00 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2023-07-14 09:29:20 +0000 |
| commit | 9840036786d90cea11a90d1f30b6dc003b34ee67 (patch) | |
| tree | 21e1f07a9d6b6d101a3c1e3d660110c75700874a /drivers/net/dsa/microchip/ksz_common.c | |
| parent | net: ethernet: Remove repeating expression (diff) | |
| download | kernel-9840036786d90cea11a90d1f30b6dc003b34ee67.tar.gz kernel-9840036786d90cea11a90d1f30b6dc003b34ee67.zip | |
gso: fix dodgy bit handling for GSO_UDP_L4
Commit 1fd54773c267 ("udp: allow header check for dodgy GSO_UDP_L4
packets.") checks DODGY bit for UDP, but for packets that can be fed
directly to the device after gso_segs reset, it actually falls through
to fragmentation:
https://lore.kernel.org/all/CAJPywTKDdjtwkLVUW6LRA2FU912qcDmQOQGt2WaDo28KzYDg+A@mail.gmail.com/
This change restores the expected behavior of GSO_UDP_L4 packets.
Fixes: 1fd54773c267 ("udp: allow header check for dodgy GSO_UDP_L4 packets.")
Suggested-by: Willem de Bruijn <[email protected]>
Signed-off-by: Yan Zhai <[email protected]>
Reviewed-by: Willem de Bruijn <[email protected]>
Acked-by: Jason Wang <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/ksz_common.c')
0 files changed, 0 insertions, 0 deletions
