commit | 4ea082cd3c400cd5bb36a7beb7e441bf3e29350d | [log] [tgz] |
---|---|---|
author | Stefano Garzarella <sgarzare@redhat.com> | Fri May 17 16:45:43 2019 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat May 25 18:26:44 2019 +0200 |
tree | 9685b2566491119b4afc545dacccefa1da09d637 | |
parent | a336df52d00791b90970a419c5458068ff4e3c26 [diff] |
vsock/virtio: free packets during the socket release [ Upstream commit ac03046ece2b158ebd204dfc4896fd9f39f0e6c8 ] When the socket is released, we should free all packets queued in the per-socket list in order to avoid a memory leak. Signed-off-by: Stefano Garzarella <sgarzare@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>