[PATCH] tcp.c: TCP_LINGER2 small bug

Arnaldo Carvalho de Melo (acme@conectiva.com.br)
Sat, 5 May 2001 00:46:48 -0300


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/