diff --git a/[refs] b/[refs] index 74e050995b23..076fb6e90513 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 1198ad002ad36291817c7bf0308ab9c50ee2571d +refs/heads/master: fb5f5e6e0cebd574be737334671d1aa8f170d5f3 diff --git a/trunk/net/ipv4/tcp.c b/trunk/net/ipv4/tcp.c index cbcc9fc47783..f3f0013a9580 100644 --- a/trunk/net/ipv4/tcp.c +++ b/trunk/net/ipv4/tcp.c @@ -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;