diff options
author | Asias He <asias@redhat.com> | 2013-06-20 11:20:32 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-06-24 08:51:48 +0200 |
commit | 0fc932467688e1c81fc109a93f323cef4993dc24 (patch) | |
tree | e6912254b683dfb5ad7734e0ecea17358ad93de3 | |
parent | VSOCK: Return VMCI_ERROR_NO_MEM when fails to allocate skb (diff) | |
download | linux-0fc932467688e1c81fc109a93f323cef4993dc24.tar.xz linux-0fc932467688e1c81fc109a93f323cef4993dc24.zip |
VSOCK: Remove unnecessary label
Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Andy King <acking@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/vmw_vsock/vmci_transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/vmw_vsock/vmci_transport.c b/net/vmw_vsock/vmci_transport.c index 99b511ddb4cb..ffc11df02af2 100644 --- a/net/vmw_vsock/vmci_transport.c +++ b/net/vmw_vsock/vmci_transport.c @@ -940,10 +940,9 @@ static void vmci_transport_recv_pkt_work(struct work_struct *work) * reset to prevent that. */ vmci_transport_send_reset(sk, pkt); - goto out; + break; } -out: release_sock(sk); kfree(recv_pkt_info); /* Release reference obtained in the stream callback when we fetched |