Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98758
b: refs/heads/master
c: 374e7b5
h: refs/heads/master
v: v3
  • Loading branch information
Octavian Purdila authored and David S. Miller committed Jul 3, 2008
1 parent abfc084 commit 7cc10a3
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 81b23b4a7acd9b37a269c62d02479d4f645dd20a
refs/heads/master: 374e7b59498ce0785b3727794b351221528a5159
3 changes: 2 additions & 1 deletion trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1209,7 +1209,8 @@ int tcp_read_sock(struct sock *sk, read_descriptor_t *desc,
return -ENOTCONN;
while ((skb = tcp_recv_skb(sk, seq, &offset)) != NULL) {
if (offset < skb->len) {
size_t used, len;
int used;
size_t len;

len = skb->len - offset;
/* Stop reading if we hit a patch of urgent data */
Expand Down

0 comments on commit 7cc10a3

Please sign in to comment.