Re: [PATCH net] Revert "udp: do rmem bulk free even if the rx sk queue is empty"

From
Sergei Shtylyov <hidden>
Date
2020-01-22 10:02:19
Reply to
Paolo Abeni, 2020-01-21
Hello!

On 21.01.2020 18:50, Paolo Abeni wrote:
This reverts commit 0d4a6608f68c7532dcbfec2ea1150c9761767d03.

Williem reported that after commit 0d4a6608f68c ("udp: do rmem bulk
   Willem (as below)?
free even if the rx sk queue is empty") the memory allocated by
an almost idle system with many UDP sockets can grow a lot.

For stable kernel keep the solution as simple as possible and revert
the offending commit.

Reported-by: Willem de Bruijn <willemdebruijn.kernel@gmail.com>
Diagnosed-by: Eric Dumazet [off-list ref]
Fixes: 0d4a6608f68c ("udp: do rmem bulk free even if the rx sk queue is empty")
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
[...]

MBR, Sergei
Thread (4 messages) 4 messages, 4 authors, last reply 2020-01-22
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help