Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348615
b: refs/heads/master
c: ff905b1
h: refs/heads/master
i:
  348613: d9e6d78
  348611: d3839d6
  348607: 85c51f5
v: v3
  • Loading branch information
Eric Dumazet authored and David S. Miller committed Jan 10, 2013
1 parent deeb76c commit cd9aefb
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: a9b8a894ad7d0b90b0464c9ac7e8e5c1687edcae
refs/heads/master: ff905b1e4aad8ccbbb0d42f7137f19482742ff07
2 changes: 1 addition & 1 deletion trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
break;
}
used = recv_actor(desc, skb, offset, len);
if (used < 0) {
if (used <= 0) {
if (!copied)
copied = used;
break;
Expand Down

0 comments on commit cd9aefb

Please sign in to comment.