mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-20 11:11:24 +00:00
Pass the right function to callout_reset() for a compressed
TIME-WAIT control block.
This commit is contained in:
parent
28c9e1aa5c
commit
2fbef91887
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111386
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user