Thread (2 messages) flat view 2 messages, 2 authors, 2021-05-20

Re: [PATCH net] net: lantiq: fix memory corruption in RX ring

From: David Miller <davem@davemloft.net>
Date: 2021-05-20 22:24:33
Also in: lkml

From: Aleksander Jan Bajkowski <redacted>
Date: Thu, 20 May 2021 20:40:54 +0200
In a situation where memory allocation or dma mapping fails, an
invalid address is programmed into the descriptor. This can lead
to memory corruption. If the memory allocation fails, DMA should
reuse the previous skb and mapping and drop the packet. This patch
also increments rx drop counter.

Signed-off-by: Aleksander Jan Bajkowski <redacted>
Please repost this with an appropriate Fixes: tag, thank you.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help