Skip to content
Commit d39ca259 authored by Paolo Abeni's avatar Paolo Abeni Committed by David S. Miller
Browse files

Revert "udp: do rmem bulk free even if the rx sk queue is empty"



This reverts commit 0d4a6608.

Williem reported that after commit 0d4a6608 ("udp: do rmem bulk
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: default avatarWillem de Bruijn <willemdebruijn.kernel@gmail.com>
Diagnosed-by: default avatarEric Dumazet <eric.dumazet@gmail.com>
Fixes: 0d4a6608 ("udp: do rmem bulk free even if the rx sk queue is empty")
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Acked-by: default avatarWillem de Bruijn <willemb@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent bda6a355
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment