Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.4.1 /net/ipv4/tcp.c

Filename:/net/ipv4/tcp.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.4.1-pre12  2.4.1-pre11  2.4.1-pre10  2.4.1-pre9  2.4.1-pre8  2.4.1-pre6 
(Following) 2.4.1-ac1  2.4.1-ac2  2.4.1-ac3  2.4.1-ac4  2.4.1-ac5  2.4.1-ac6 

Location
[  2.4.1
  [  net
    [  ipv4
       o  tcp.c

Patch

diff -u --recursive --new-file v2.4.0/linux/net/ipv4/tcp.c linux/net/ipv4/tcp.c
--- v2.4.0/linux/net/ipv4/tcp.c   Tue Nov 28 21:53:45 2000
+++ linux/net/ipv4/tcp.c   Wed Jan 10 14:12:12 2001
@@ -954,7 +954,7 @@
           */
          skb = sk->write_queue.prev;
          if (tp->send_head &&
-             (mss_now - skb->len) > 0) {
+             (mss_now > skb->len)) {
             copy = skb->len;
             if (skb_tailroom(skb) > 0) {
                int last_byte_was_odd = (copy % 4);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.