[PATCH] tcp.c: TCP_LINGER2 small bug

From: Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Date: Fri May 04 2001 - 22:46:48 EST


Hi,

        Please apply.

- Arnaldo

--- linux-2.4.4-ac5/net/ipv4/tcp.c Sat May 5 18:24:59 2001
+++ linux-2.4.4-ac5.acme/net/ipv4/tcp.c Sat May 5 18:33:32 2001
@@ -2352,7 +2352,7 @@
                 break;
         case TCP_LINGER2:
                 val = tp->linger2;
- if (val > 0)
+ if (val >= 0)
                         val = (val ? : sysctl_tcp_fin_timeout)/HZ;
                 break;
         case TCP_DEFER_ACCEPT:
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon May 07 2001 - 21:00:22 EST