From: Jakub Kicinski <kuba@kernel.org>
Date: Thu, 27 Mar 2025 12:51:19 -0700
On Tue, 25 Mar 2025 12:58:12 -0700 Kuniyuki Iwashima wrote:
quoted
I got a report that UDP mem usage in /proc/net/sockstat did not
drop even after an application was terminated.
The issue could happen if sk->sk_rmem_alloc wraps around due
to a large sk->sk_rcvbuf, which was INT_MAX in our case.
The patch 2 fixes the issue, and the patch 1 fixes yet another
overflow I found while investigating the issue.
Selftest doesn't apply after the net-next PR :(
Will send v3 shortly with so_rcv_listener sorted.
Thanks!