diff options
Diffstat (limited to 'src/net/tcp.c')
| -rw-r--r-- | src/net/tcp.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c index 118c6d0fe..b5b9ff608 100644 --- a/src/net/tcp.c +++ b/src/net/tcp.c @@ -1016,8 +1016,7 @@ static int tcp_rx ( struct io_buffer *iobuf, * timer to expire and cause the connection to be freed. */ if ( TCP_CLOSED_GRACEFULLY ( tcp->tcp_state ) ) { - tcp->timer.timeout = ( 2 * TCP_MSL ); - start_timer ( &tcp->timer ); + start_timer_fixed ( &tcp->timer, ( 2 * TCP_MSL ) ); } return 0; |
