OSDN Git Service

tcp: correct code comment stating 3 min timeout for FIN_WAIT2, we only do 1 min
authorJesper Juhl <jj@chaosbits.net>
Sun, 9 Feb 2014 22:30:32 +0000 (23:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 03:14:23 +0000 (19:14 -0800)
commitb10bd54c05a6c3c96549f4642d7de23c99b9853b
treefca260d2014ff823c3fef7c4b696af5ca6413ca7
parent0fbb8297b5468eb7d269dc868b80df1fb166a4ab
tcp: correct code comment stating 3 min timeout for FIN_WAIT2, we only do 1 min

As far as I can tell we have used a default of 60 seconds for
FIN_WAIT2 timeout for ages (since 2.x times??).

In any case, the timeout these days is 60 seconds, so the 3 min
comment is wrong (and cost me a few minutes of my life when I was
debugging a FIN_WAIT2 related problem in a userspace application and
checked the kernel source for details).

Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp.c