Ensure that the TCP RACK stack honours the setting of the
net.inet.tcp.drop_synfin sysctl-variable. Reviewed by: rrs@ MFC after: 1 week Sponsored by: Netflix, Inc. Differential Revision: https://reviews.freebsd.org/D18033
This commit is contained in:
parent
e4a2b60c79
commit
82210e189d
@ -6528,6 +6528,10 @@ rack_hpts_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so,
|
||||
TCP_LOG_EVENT(tp, th, &so->so_rcv, &so->so_snd, TCP_LOG_IN, 0,
|
||||
tlen, &log, true);
|
||||
}
|
||||
if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) {
|
||||
way_out = 4;
|
||||
goto done_with_input;
|
||||
}
|
||||
/*
|
||||
* Segment received on connection. Reset idle time and keep-alive
|
||||
* timer. XXX: This should be done after segment validation to
|
||||
|
Loading…
x
Reference in New Issue
Block a user