linux_dsm_epyc7002/drivers/net/ethernet/stmicro
Aaro Koskinen 8ac0c24fe1 net: stmmac: fix dropping of multi-descriptor RX frames
Packets without the last descriptor set should be dropped early. If we
receive a frame larger than the DMA buffer, the HW will continue using the
next descriptor. Driver mistakes these as individual frames, and sometimes
a truncated frame (without the LD set) may look like a valid packet.

This fixes a strange issue where the system replies to 4098-byte ping
although the MTU/DMA buffer size is set to 4096, and yet at the same
time it's logging an oversized packet.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-31 14:00:59 -07:00
..
stmmac net: stmmac: fix dropping of multi-descriptor RX frames 2019-03-31 14:00:59 -07:00
Kconfig stmicro: add more information to Kconfig 2017-01-18 12:12:04 -05:00
Makefile