diff options
| author | Stephane Graber <[email protected]> | 2022-03-22 22:42:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-23 17:30:05 +0000 |
| commit | e9e6faeafaa00da1851bcf47912b0f1acae666b4 (patch) | |
| tree | 117eabe950c4ee883ec7e840b198c8b3040d1ccb /drivers/gpu/drm/lima/lima_sched.c | |
| parent | net: geneve: add missing netlink policy and size for IFLA_GENEVE_INNER_PROTO_... (diff) | |
| download | kernel-e9e6faeafaa00da1851bcf47912b0f1acae666b4.tar.gz kernel-e9e6faeafaa00da1851bcf47912b0f1acae666b4.zip | |
drivers: net: xgene: Fix regression in CRC stripping
All packets on ingress (except for jumbo) are terminated with a 4-bytes
CRC checksum. It's the responsability of the driver to strip those 4
bytes. Unfortunately a change dating back to March 2017 re-shuffled some
code and made the CRC stripping code effectively dead.
This change re-orders that part a bit such that the datalen is
immediately altered if needed.
Fixes: 4902a92270fb ("drivers: net: xgene: Add workaround for errata 10GE_8/ENET_11")
Cc: [email protected]
Signed-off-by: Stephane Graber <[email protected]>
Tested-by: Stephane Graber <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/lima/lima_sched.c')
0 files changed, 0 insertions, 0 deletions
