# 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 
- List: netdev
- Page: https://ratatoskr.run/netdev/2020/01/11158614
- Thread: https://ratatoskr.run/netdev/2020/01/11158534/t.md

```text
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 [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
```
