Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107261438
D46824.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
622 B
Referenced Files
None
Subscribers
None
D46824.diff
View Options
diff --git a/sys/netinet/tcp_output.c b/sys/netinet/tcp_output.c
--- a/sys/netinet/tcp_output.c
+++ b/sys/netinet/tcp_output.c
@@ -1078,13 +1078,18 @@
sbsndptr_adv(&so->so_snd, mb, len);
m->m_len += len;
} else {
+ int32_t old_len;
+
if (SEQ_LT(tp->snd_nxt, tp->snd_max))
msb = NULL;
else
msb = &so->so_snd;
+ old_len = len;
m->m_next = tcp_m_copym(mb, moff,
&len, if_hw_tsomaxsegcount,
if_hw_tsomaxsegsize, msb, hw_tls);
+ if (old_len != len)
+ flags &= ~TH_FIN;
if (len <= (tp->t_maxseg - optlen)) {
/*
* Must have ran out of mbufs for the copy
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 12, 7:49 PM (21 h, 4 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
15772414
Default Alt Text
D46824.diff (622 B)
Attached To
Mode
D46824: tcp_output: Clear FIN if tcp_m_copym truncates output length
Attached
Detach File
Event Timeline
Log In to Comment