Skip to content

Commit

Permalink
VSOCK: Remove unnecessary label
Browse files Browse the repository at this point in the history
Signed-off-by: Asias He <asias@redhat.com>
Acked-by: Andy King <acking@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Asias He authored and David S. Miller committed Jun 24, 2013
1 parent dce1a28 commit 0fc9324
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions net/vmw_vsock/vmci_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fc9324

Please sign in to comment.