aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/vmw_vsock/vmci_transport.c3
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)
940 * reset to prevent that. 940 * reset to prevent that.
941 */ 941 */
942 vmci_transport_send_reset(sk, pkt); 942 vmci_transport_send_reset(sk, pkt);
943 goto out; 943 break;
944 } 944 }
945 945
946out:
947 release_sock(sk); 946 release_sock(sk);
948 kfree(recv_pkt_info); 947 kfree(recv_pkt_info);
949 /* Release reference obtained in the stream callback when we fetched 948 /* Release reference obtained in the stream callback when we fetched