diff options
author | hsu <hsu@FreeBSD.org> | 2003-02-24 00:48:12 +0000 |
---|---|---|
committer | hsu <hsu@FreeBSD.org> | 2003-02-24 00:48:12 +0000 |
commit | 8133d4eddb8797a266eb2fa3f080df875edca945 (patch) | |
tree | c52ec88f7a362895e615d7937055d5d444c42db6 /sys | |
parent | 5c99d4e5446dab4e983dd25f70a193f29cdc9b35 (diff) | |
download | FreeBSD-src-8133d4eddb8797a266eb2fa3f080df875edca945.zip FreeBSD-src-8133d4eddb8797a266eb2fa3f080df875edca945.tar.gz |
Pass the right function to callout_reset() for a compressed
TIME-WAIT control block.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_input.c | 2 | ||||
-rw-r--r-- | sys/netinet/tcp_reass.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 884e5c9..1284689 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -2906,7 +2906,7 @@ tcp_timewait(tw, to, th, m, tlen) seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); if (seq + 1 == tw->rcv_nxt) callout_reset(tw->tt_2msl, - 2 * tcp_msl, tcp_timer_2msl, tw); + 2 * tcp_msl, tcp_timer_2msl_tw, tw); } /* diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 884e5c9..1284689 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -2906,7 +2906,7 @@ tcp_timewait(tw, to, th, m, tlen) seq = th->th_seq + tlen + (thflags & TH_SYN ? 1 : 0); if (seq + 1 == tw->rcv_nxt) callout_reset(tw->tt_2msl, - 2 * tcp_msl, tcp_timer_2msl, tw); + 2 * tcp_msl, tcp_timer_2msl_tw, tw); } /* |