Searched hist:"583 e6361414903c5206258a30e5bd88cb03c0254" (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/ |
H A D | descs_com.h | diff 583e6361414903c5206258a30e5bd88cb03c0254 Wed Mar 27 15:35:35 CDT 2019 Aaro Koskinen <aaro.koskinen@nokia.com> 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>
|
H A D | dwxgmac2_descs.c | diff 583e6361414903c5206258a30e5bd88cb03c0254 Wed Mar 27 15:35:35 CDT 2019 Aaro Koskinen <aaro.koskinen@nokia.com> 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>
|
H A D | norm_desc.c | diff 583e6361414903c5206258a30e5bd88cb03c0254 Wed Mar 27 15:35:35 CDT 2019 Aaro Koskinen <aaro.koskinen@nokia.com> 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>
|
H A D | hwif.h | diff 583e6361414903c5206258a30e5bd88cb03c0254 Wed Mar 27 15:35:35 CDT 2019 Aaro Koskinen <aaro.koskinen@nokia.com> 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>
|
H A D | enh_desc.c | diff 583e6361414903c5206258a30e5bd88cb03c0254 Wed Mar 27 15:35:35 CDT 2019 Aaro Koskinen <aaro.koskinen@nokia.com> 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>
|
H A D | dwmac4_descs.c | diff 583e6361414903c5206258a30e5bd88cb03c0254 Wed Mar 27 15:35:35 CDT 2019 Aaro Koskinen <aaro.koskinen@nokia.com> 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>
|
H A D | stmmac_main.c | diff 583e6361414903c5206258a30e5bd88cb03c0254 Wed Mar 27 15:35:35 CDT 2019 Aaro Koskinen <aaro.koskinen@nokia.com> 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>
|