summaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorGal Pressman <gal@nvidia.com>2022-01-17 12:27:33 +0300
committerDavid S. Miller <davem@davemloft.net>2022-01-17 16:07:47 +0300
commit79074a72d335dbd021a716d8cc65cba3b2f706ab (patch)
tree4dd25b42974029832f25bbe6ac1ec4e9e60a713b /scripts/gdb
parentdb094aa8140e6da25ba77345b24a8af0c220665e (diff)
downloadlinux-79074a72d335dbd021a716d8cc65cba3b2f706ab.tar.xz
net: Flush deferred skb free on socket destroy
The cited Fixes patch moved to a deferred skb approach where the skbs are not freed immediately under the socket lock. Add a WARN_ON_ONCE() to verify the deferred list is empty on socket destroy, and empty it to prevent potential memory leaks. Fixes: f35f821935d8 ("tcp: defer skb freeing after socket lock is released") Signed-off-by: Gal Pressman <gal@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions