vsock: Simplify '__vsock_release()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 3 Nov 2019 06:11:11 +0000 (07:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Nov 2019 01:55:47 +0000 (17:55 -0800)
commit3b7ad08b5153b0eda2f4d57ac53d815c30acd172
tree1bcc99705b63930edf6053da1d0a3142b941c4a2
parentc058f6dfeb1c645e77dc89d1690848ca06f45735
vsock: Simplify '__vsock_release()'

Use 'skb_queue_purge()' instead of re-implementing it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/vmw_vsock/af_vsock.c