linux_dsm_epyc7002/drivers/net/ethernet/stmicro
Aaro Koskinen 583e636141 net: stmmac: use correct DMA buffer size in the RX descriptor
We always program the maximum DMA buffer size into the receive descriptor,
although the allocated size may be less. E.g. with the default MTU size
we allocate only 1536 bytes. If somebody sends us a bigger frame, then
memory may get corrupted.

Fix by using exact buffer sizes.

Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-03-31 14:00:58 -07:00
..
stmmac net: stmmac: use correct DMA buffer size in the RX descriptor 2019-03-31 14:00:58 -07:00
Kconfig stmicro: add more information to Kconfig 2017-01-18 12:12:04 -05:00
Makefile