mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Pass the right function to callout_reset() for a compressed
TIME-WAIT control block.
This commit is contained in:
parent
28c9e1aa5c
commit
2fbef91887
2 changed files with 2 additions and 2 deletions
|
|
@ -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 a new issue