Gal Pressman 79074a72d3 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>
2022-01-17 13:07:47 +00:00
..
2021-11-04 21:04:25 +09:00
2021-10-24 13:59:45 +01:00
2021-11-23 20:16:22 -08:00
2022-01-06 11:59:10 +00:00
2022-01-06 12:33:35 +00:00
2021-05-26 07:03:39 +02:00
2022-01-11 20:26:36 -08:00
2021-11-27 10:33:55 -08:00
2021-12-21 07:41:52 -08:00
2021-06-03 15:13:56 -07:00
2021-07-29 15:06:49 +01:00