Home
last modified time | relevance | path

Searched hist:"583 e6361414903c5206258a30e5bd88cb03c0254" (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/stmicro/stmmac/
H A Ddescs_com.hdiff 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 Ddwxgmac2_descs.cdiff 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 Dnorm_desc.cdiff 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 Dhwif.hdiff 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 Denh_desc.cdiff 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 Ddwmac4_descs.cdiff 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 Dstmmac_main.cdiff 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>