Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254223
b: refs/heads/master
c: 9cfaa8d
h: refs/heads/master
i:
  254221: 25c5b6c
  254219: daeaf98
  254215: 59c8fff
  254207: ef7cc8f
v: v3
  • Loading branch information
Xufeng Zhang authored and David S. Miller committed Jun 22, 2011
1 parent ce418ff commit 57e3feb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 32c90254ed4a0c698caa0794ebb4de63fcc69631
refs/heads/master: 9cfaa8def1c795a512bc04f2aec333b03724ca2e
3 changes: 3 additions & 0 deletions trunk/net/ipv4/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1249,6 +1249,9 @@ int udp_recvmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,

if (noblock)
return -EAGAIN;

/* starting over for a new packet */
msg->msg_flags &= ~MSG_TRUNC;
goto try_again;
}

Expand Down
3 changes: 3 additions & 0 deletions trunk/net/ipv6/udp.c
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,9 @@ int udpv6_recvmsg(struct kiocb *iocb, struct sock *sk,

if (noblock)
return -EAGAIN;

/* starting over for a new packet */
msg->msg_flags &= ~MSG_TRUNC;
goto try_again;
}

Expand Down

0 comments on commit 57e3feb

Please sign in to comment.