Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362385
b: refs/heads/master
c: 680d04e
h: refs/heads/master
i:
  362383: 4efc062
v: v3
  • Loading branch information
Mathias Krause authored and David S. Miller committed Apr 7, 2013
1 parent adeb20a commit eac1d96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 60085c3d009b0df252547adb336d1ccca5ce52ec
refs/heads/master: 680d04e0ba7e926233e3b9cee59125ce181f66ba
3 changes: 2 additions & 1 deletion trunk/net/vmw_vsock/vmci_transport.c
Original file line number Diff line number Diff line change
Expand Up @@ -1736,6 +1736,8 @@ static int vmci_transport_dgram_dequeue(struct kiocb *kiocb,
if (flags & MSG_OOB || flags & MSG_ERRQUEUE)
return -EOPNOTSUPP;

msg->msg_namelen = 0;

/* Retrieve the head sk_buff from the socket's receive queue. */
err = 0;
skb = skb_recv_datagram(&vsk->sk, flags, noblock, &err);
Expand Down Expand Up @@ -1768,7 +1770,6 @@ static int vmci_transport_dgram_dequeue(struct kiocb *kiocb,
if (err)
goto out;

msg->msg_namelen = 0;
if (msg->msg_name) {
struct sockaddr_vm *vm_addr;

Expand Down

0 comments on commit eac1d96

Please sign in to comment.