tcp: allow splice() to build full TSO packets
[linux-flexiantxendom0-3.2.10.git] / net / ipv4 / tcp.c
index cfd7edd..2ff6f45 100644 (file)
@@ -860,7 +860,7 @@ wait_for_memory:
        }
 
 out:
-       if (copied)
+       if (copied && !(flags & MSG_MORE))
                tcp_push(sk, flags, mss_now, tp->nonagle);
        return copied;