aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2012-11-17 22:00:43 -0500
committerDavid S. Miller <davem@davemloft.net>2012-11-17 22:00:43 -0500
commit67f4efdce7d85282fbd5832cddc80a07eb89b6d6 (patch)
tree9a1771ef13b27abdf8cf172e5b7556ab93e5c48c /net/ipv4/tcp.c
parentc53aa5058ad5ca8876a47d6639ad4d4f2c5ed584 (diff)
parentf4a75d2eb7b1e2206094b901be09adb31ba63681 (diff)
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Minor line offset auto-merges. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-rw-r--r--net/ipv4/tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c
index 733f48593ec3..4aefa0b42c2e 100644
--- a/net/ipv4/tcp.c
+++ b/net/ipv4/tcp.c
@@ -1213,7 +1213,7 @@ new_segment:
1213wait_for_sndbuf: 1213wait_for_sndbuf:
1214 set_bit(SOCK_NOSPACE, &sk->sk_socket->flags); 1214 set_bit(SOCK_NOSPACE, &sk->sk_socket->flags);
1215wait_for_memory: 1215wait_for_memory:
1216 if (copied && likely(!tp->repair)) 1216 if (copied)
1217 tcp_push(sk, flags & ~MSG_MORE, mss_now, TCP_NAGLE_PUSH); 1217 tcp_push(sk, flags & ~MSG_MORE, mss_now, TCP_NAGLE_PUSH);
1218 1218
1219 if ((err = sk_stream_wait_memory(sk, &timeo)) != 0) 1219 if ((err = sk_stream_wait_memory(sk, &timeo)) != 0)
@@ -1224,7 +1224,7 @@ wait_for_memory:
1224 } 1224 }
1225 1225
1226out: 1226out:
1227 if (copied && likely(!tp->repair)) 1227 if (copied)
1228 tcp_push(sk, flags, mss_now, tp->nonagle); 1228 tcp_push(sk, flags, mss_now, tp->nonagle);
1229 release_sock(sk); 1229 release_sock(sk);
1230 return copied + copied_syn; 1230 return copied + copied_syn;