Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349751
b: refs/heads/master
c: 77c1090
h: refs/heads/master
i:
  349749: 1c29487
  349747: 6a456c9
  349743: 66a3921
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Feb 12, 2013
1 parent ec5ec05 commit 7e7928b
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1bf014e5c2d8e62ae11a5a8f70dc679f5d0787eb
refs/heads/master: 77c1090f94d1b0b5186fb13a1b71b47b1343f87f
2 changes: 1 addition & 1 deletion trunk/net/core/datagram.c
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ struct sk_buff *__skb_recv_datagram(struct sock *sk, unsigned int flags,
skb_queue_walk(queue, skb) {
*peeked = skb->peeked;
if (flags & MSG_PEEK) {
if (*off >= skb->len) {
if (*off >= skb->len && skb->len) {
*off -= skb->len;
continue;
}
Expand Down

0 comments on commit 7e7928b

Please sign in to comment.