diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-21 03:53:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-21 03:53:04 +0200 |
commit | 17eea0df5f7068fc04959e655ef8f0a0ed097e19 (patch) | |
tree | d44b5cceb813dddfd1e62fe9f92556cf113d62fd /net/ipv4/tcp.c | |
parent | ipv6/exthdrs: strict Pad1 and PadN check (diff) | |
parent | Linux 3.4 (diff) | |
download | linux-17eea0df5f7068fc04959e655ef8f0a0ed097e19.tar.xz linux-17eea0df5f7068fc04959e655ef8f0a0ed097e19.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r-- | net/ipv4/tcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index e13546ca9923..bb485fcb077e 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c @@ -917,8 +917,7 @@ new_segment: wait_for_sndbuf: set_bit(SOCK_NOSPACE, &sk->sk_socket->flags); wait_for_memory: - if (copied) - tcp_push(sk, flags & ~MSG_MORE, mss_now, TCP_NAGLE_PUSH); + tcp_push(sk, flags & ~MSG_MORE, mss_now, TCP_NAGLE_PUSH); if ((err = sk_stream_wait_memory(sk, &timeo)) != 0) goto do_error; |