Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107523311
D33367.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
493 B
Referenced Files
None
Subscribers
None
D33367.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D33367: bbr: drop packet synchronously in ctf_do_dropwithreset_conn()
Attached
Detach File
Event Timeline
Log In to Comment