Page MenuHomeFreeBSD

D33367.diff
No OneTemporary

D33367.diff

diff --git a/sys/netinet/tcp_stacks/rack_bbr_common.c b/sys/netinet/tcp_stacks/rack_bbr_common.c
--- a/sys/netinet/tcp_stacks/rack_bbr_common.c
+++ b/sys/netinet/tcp_stacks/rack_bbr_common.c
@@ -969,11 +969,10 @@
int32_t rstreason, int32_t tlen)
{
- if (tp->t_inpcb) {
- tcp_set_inp_to_drop(tp->t_inpcb, ETIMEDOUT);
- }
tcp_dropwithreset(m, th, tp, tlen, rstreason);
- INP_WUNLOCK(tp->t_inpcb);
+ tp = tcp_drop(tp, ETIMEDOUT);
+ if (tp)
+ INP_WUNLOCK(tp->t_inpcb);
}
uint32_t

File Metadata

Mime Type
text/plain
Expires
Thu, Jan 16, 10:06 AM (20 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15823794
Default Alt Text
D33367.diff (493 B)

Event Timeline