Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 362373
b: refs/heads/master
c: 4683f42
h: refs/heads/master
i:
  362371: 8415b13
v: v3
  • Loading branch information
Mathias Krause authored and David S. Miller committed Apr 7, 2013
1 parent e0f80fb commit aa2405d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: ef3313e84acbf349caecae942ab3ab731471f1a1
refs/heads/master: 4683f42fde3977bdb4e8a09622788cc8b5313778
4 changes: 2 additions & 2 deletions trunk/net/bluetooth/af_bluetooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,15 @@ int bt_sock_recvmsg(struct kiocb *iocb, struct socket *sock,
if (flags & (MSG_OOB))
return -EOPNOTSUPP;

msg->msg_namelen = 0;

skb = skb_recv_datagram(sk, flags, noblock, &err);
if (!skb) {
if (sk->sk_shutdown & RCV_SHUTDOWN)
return 0;
return err;
}

msg->msg_namelen = 0;

copied = skb->len;
if (len < copied) {
msg->msg_flags |= MSG_TRUNC;
Expand Down

0 comments on commit aa2405d

Please sign in to comment.