mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
bbr: check proper flag for connection had been closed
An older version of D35663 slipped through final reviews.
Submitted by: Peter Lei
Fixes: 74703901d8
This commit is contained in:
parent
4773d3425e
commit
aeb6948d43
1 changed files with 1 additions and 1 deletions
|
|
@ -9844,7 +9844,7 @@ bbr_do_fin_wait_2(struct mbuf *m, struct tcphdr *th, struct socket *so,
|
|||
* We call a new function now so we might continue and setup
|
||||
* to reset at all data being ack'd.
|
||||
*/
|
||||
if (tp->t_state > TCPS_CLOSE_WAIT && tlen &&
|
||||
if ((tp->t_flags & TF_CLOSED) && tlen &&
|
||||
bbr_check_data_after_close(m, bbr, tp, &tlen, th, so))
|
||||
return (1);
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue