Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F169007012
D2609.id5528.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
706 B
Referenced Files
None
Subscribers
None
D2609.id5528.diff
View Options
Index: sys/dev/sfxge/sfxge_tx.c
===================================================================
--- sys/dev/sfxge/sfxge_tx.c
+++ sys/dev/sfxge/sfxge_tx.c
@@ -865,8 +865,14 @@
tso->seqnum = ntohl(th->th_seq);
/* These flags must not be duplicated */
- KASSERT(!(th->th_flags & (TH_URG | TH_SYN | TH_RST)),
- ("incompatible TCP flag on TSO packet"));
+ /*
+ * RST should not be duplicated as well, but FreeBSD kernel
+ * generates TSO packets with RST flag. So, do not assert
+ * its absence.
+ */
+ KASSERT(!(th->th_flags & (TH_URG | TH_SYN)),
+ ("incompatible TCP flag 0x%x on TSO packet",
+ th->th_flags & (TH_URG | TH_SYN)));
tso->out_len = mbuf->m_pkthdr.len - tso->header_len;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Sep 1, 2:57 AM (7 h, 8 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37754783
Default Alt Text
D2609.id5528.diff (706 B)
Attached To
Mode
D2609: sfxge: relax assertion to allow RST flag in TSO packets
Attached
Detach File
Event Timeline
Log In to Comment