mirror of https://github.com/F-Stack/f-stack.git
tcp: Missing mfree in rack and bbr.
See:https://reviews.freebsd.org/D30727.
This commit is contained in:
parent
a816e89636
commit
3c7b637d18
|
@ -11475,6 +11475,7 @@ bbr_do_segment_nounlock(struct mbuf *m, struct tcphdr *th, struct socket *so,
|
|||
if ((tp->t_flags & TF_RCVD_TSTMP) && !(to.to_flags & TOF_TS) &&
|
||||
((thflags & TH_RST) == 0) && (V_tcp_tolerate_missing_ts == 0)) {
|
||||
retval = 0;
|
||||
m_freem(m);
|
||||
goto done_with_input;
|
||||
}
|
||||
/*
|
||||
|
|
|
@ -10861,6 +10861,7 @@ rack_do_segment_nounlock(struct mbuf *m, struct tcphdr *th, struct socket *so,
|
|||
if ((thflags & TH_SYN) && (thflags & TH_FIN) && V_drop_synfin) {
|
||||
way_out = 4;
|
||||
retval = 0;
|
||||
m_freem(m);
|
||||
goto done_with_input;
|
||||
}
|
||||
/*
|
||||
|
@ -10892,6 +10893,7 @@ rack_do_segment_nounlock(struct mbuf *m, struct tcphdr *th, struct socket *so,
|
|||
((thflags & TH_RST) == 0) && (V_tcp_tolerate_missing_ts == 0)) {
|
||||
way_out = 5;
|
||||
retval = 0;
|
||||
m_freem(m);
|
||||
goto done_with_input;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue