Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 33088
b: refs/heads/master
c: 52499af
h: refs/heads/master
v: v3
  • Loading branch information
David S. Miller committed Aug 2, 2006
1 parent ba5d56b commit 1b3843f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: a280b89982f48e9a32c6410a37419b12ca88af6b
refs/heads/master: 52499afe40387524e9f46ef9ce4695efccdd2ed9
3 changes: 2 additions & 1 deletion trunk/net/ipv4/tcp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1659,7 +1659,8 @@ void tcp_close(struct sock *sk, long timeout)
const int tmo = tcp_fin_time(sk);

if (tmo > TCP_TIMEWAIT_LEN) {
inet_csk_reset_keepalive_timer(sk, tcp_fin_time(sk));
inet_csk_reset_keepalive_timer(sk,
tmo - TCP_TIMEWAIT_LEN);
} else {
tcp_time_wait(sk, TCP_FIN_WAIT2, tmo);
goto out;
Expand Down

0 comments on commit 1b3843f

Please sign in to comment.