diff options
author | 2019-05-17 16:45:43 +0200 | |
---|---|---|
committer | 2019-05-17 11:46:36 -0700 | |
commit | ac03046ece2b158ebd204dfc4896fd9f39f0e6c8 (patch) | |
tree | d6751593006c14cd1b4d4f3fbc447094a442f71d /net/tipc/core.c | |
parent | tipc: fix modprobe tipc failed after switch order of device registration (diff) | |
download | wireguard-linux-ac03046ece2b158ebd204dfc4896fd9f39f0e6c8.tar.xz wireguard-linux-ac03046ece2b158ebd204dfc4896fd9f39f0e6c8.zip |
vsock/virtio: free packets during the socket release
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>
Diffstat (limited to 'net/tipc/core.c')
0 files changed, 0 insertions, 0 deletions