Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
user avatar
Gal Pressman authored
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: f35f8219

 ("tcp: defer skb freeing after socket lock is released")
Signed-off-by: default avatarGal Pressman <gal@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
79074a72
Forked from BeagleBoard.org / Linux
259673 commits behind the upstream repository.