aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/lima/lima_sched.c
diff options
context:
space:
mode:
authorStephane Graber <[email protected]>2022-03-22 22:42:06 +0000
committerJakub Kicinski <[email protected]>2022-03-23 17:30:05 +0000
commite9e6faeafaa00da1851bcf47912b0f1acae666b4 (patch)
tree117eabe950c4ee883ec7e840b198c8b3040d1ccb /drivers/gpu/drm/lima/lima_sched.c
parentnet: geneve: add missing netlink policy and size for IFLA_GENEVE_INNER_PROTO_... (diff)
downloadkernel-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