mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 14:48:57 +00:00
MFC 300307:
pf: Fix fragment timeout We were inconsistent about the use of time_second vs. time_uptime. Always use time_uptime so the value can be meaningfully compared. Submitted by: "Max" <maximos@als.nnov.ru>
This commit is contained in:
parent
bfa746eae6
commit
e0bf0d3bdd
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=300552
@ -434,7 +434,7 @@ pf_fillup_fragment(struct pf_fragment_cmp *key, struct pf_frent *frent,
|
||||
|
||||
*(struct pf_fragment_cmp *)frag = *key;
|
||||
frag->fr_flags = 0;
|
||||
frag->fr_timeout = time_second;
|
||||
frag->fr_timeout = time_uptime;
|
||||
frag->fr_maxlen = frent->fe_len;
|
||||
TAILQ_INIT(&frag->fr_queue);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user