aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorStephane Graber <[email protected]>2022-03-22 18:42:06 -0400
committerJakub Kicinski <[email protected]>2022-03-23 10:30:05 -0700
commite9e6faeafaa00da1851bcf47912b0f1acae666b4 (patch)
tree117eabe950c4ee883ec7e840b198c8b3040d1ccb /net/lapb/lapb_subr.c
parent36c2e31ad25bd087756b8db9584994d1d80c236b (diff)
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 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions