Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 322738
b: refs/heads/master
c: 6cf5c95
h: refs/heads/master
v: v3
  • Loading branch information
Alan Cox authored and David S. Miller committed Sep 4, 2012
1 parent 2018db7 commit 07a0e18
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 9fef76857feed8e94ca3a5ee37db644f04a9488b
refs/heads/master: 6cf5c951175abcec4da470c50565cc0afe6cd11d
7 changes: 6 additions & 1 deletion trunk/net/netrom/af_netrom.c
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,12 @@ static int nr_recvmsg(struct kiocb *iocb, struct socket *sock,
msg->msg_flags |= MSG_TRUNC;
}

skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied);
er = skb_copy_datagram_iovec(skb, 0, msg->msg_iov, copied);
if (er < 0) {
skb_free_datagram(sk, skb);
release_sock(sk);
return er;
}

if (sax != NULL) {
sax->sax25_family = AF_NETROM;
Expand Down

0 comments on commit 07a0e18

Please sign in to comment.