diff options
author | Shyam Sundar S K <[email protected]> | 2022-01-27 14:50:03 +0530 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-01-27 18:24:54 -0800 |
commit | 5aac9108a180fc06e28d4e7fb00247ce603b72ee (patch) | |
tree | 6f650fc5a3bcf53ce275b7465b130ddba1653968 /net/lapb/lapb_timer.c | |
parent | 23a46422c56144939c091c76cf389aa863ce9c18 (diff) |
net: amd-xgbe: Fix skb data length underflow
There will be BUG_ON() triggered in include/linux/skbuff.h leading to
intermittent kernel panic, when the skb length underflow is detected.
Fix this by dropping the packet if such length underflows are seen
because of inconsistencies in the hardware descriptors.
Fixes: 622c36f143fc ("amd-xgbe: Fix jumbo MTU processing on newer hardware")
Suggested-by: Tom Lendacky <[email protected]>
Signed-off-by: Shyam Sundar S K <[email protected]>
Acked-by: Tom Lendacky <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions