mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] tcp.c: TCP_LINGER2 small bug
@ 2001-05-05  3:46 Arnaldo Carvalho de Melo
  2001-05-05 22:25 ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2001-05-05  3:46 UTC (permalink / raw)
  To: davem; +Cc: Alan Cox, linux-kernel

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:

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] tcp.c: TCP_LINGER2 small bug
  2001-05-05  3:46 [PATCH] tcp.c: TCP_LINGER2 small bug Arnaldo Carvalho de Melo
@ 2001-05-05 22:25 ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2001-05-05 22:25 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo; +Cc: Alan Cox, linux-kernel


Arnaldo Carvalho de Melo writes:
 > 	Please apply.

Applied, thanks for the fix.

Later,
David S. Miller
davem@redhat.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-05-05 22:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-05-05  3:46 [PATCH] tcp.c: TCP_LINGER2 small bug Arnaldo Carvalho de Melo
2001-05-05 22:25 ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®