Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7129
b: refs/heads/master
c: fb5f5e6
h: refs/heads/master
i:
  7127: 4893215
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Sep 6, 2005
1 parent 278e799 commit c05eccd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 1198ad002ad36291817c7bf0308ab9c50ee2571d
refs/heads/master: fb5f5e6e0cebd574be737334671d1aa8f170d5f3
4 changes: 2 additions & 2 deletions trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -769,10 +769,10 @@ int tcp_sendmsg(struct kiocb *iocb, struct sock *sk, struct msghdr *msg,
if (off == PAGE_SIZE) {
put_page(page);
TCP_PAGE(sk) = page = NULL;
TCP_OFF(sk) = off = 0;
off = 0;
}
} else
BUG_ON(off);
off = 0;

if (copy > PAGE_SIZE - off)
copy = PAGE_SIZE - off;
Expand Down

0 comments on commit c05eccd

Please sign in to comment.