Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148958941
D5872.id15642.vs14968.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
637 B
Referenced Files
None
Subscribers
None
D5872.id15642.vs14968.diff
View Options
Index: sys/netinet/tcp_output.c
===================================================================
--- sys/netinet/tcp_output.c
+++ sys/netinet/tcp_output.c
@@ -1545,9 +1545,10 @@
tp->t_softerror = error;
return (error);
case ENOBUFS:
- if (!tcp_timer_active(tp, TT_REXMT) &&
+ if ((len > 0 || (flags & (TH_SYN | TH_FIN))) &&
+ !tcp_timer_active(tp, TT_REXMT) &&
!tcp_timer_active(tp, TT_PERSIST))
- tcp_timer_activate(tp, TT_REXMT, tp->t_rxtcur);
+ panic("neither rexmt nor persist timer is set");
tp->snd_cwnd = tp->t_maxseg;
return (0);
case EMSGSIZE:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 22, 8:10 AM (19 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30114648
Default Alt Text
D5872.id15642.vs14968.diff (637 B)
Attached To
Mode
D5872: tcp: Don't prematurely drop receiving-only connections
Attached
Detach File
Event Timeline
Log In to Comment