Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F116019104
D34217.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
602 B
Referenced Files
None
Subscribers
None
D34217.diff
View Options
diff --git a/sys/netinet/tcp_syncache.c b/sys/netinet/tcp_syncache.c
--- a/sys/netinet/tcp_syncache.c
+++ b/sys/netinet/tcp_syncache.c
@@ -1848,7 +1848,9 @@
/* XXX: Assume that the entire packet will fit in a header mbuf. */
KASSERT(max_linkhdr + tlen + TCP_MAXOLEN <= MHLEN,
- ("syncache: mbuf too small"));
+ ("syncache: mbuf too small: hlen %u, sc_port %u, max_linkhdr %d + "
+ "tlen %d + TCP_MAXOLEN %ju <= MHLEN %d", hlen, sc->sc_port,
+ max_linkhdr, tlen, (uintmax_t)TCP_MAXOLEN, MHLEN));
/* Create the IP+TCP header from scratch. */
m = m_gethdr(M_NOWAIT, MT_DATA);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, May 2, 4:51 PM (13 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17908307
Default Alt Text
D34217.diff (602 B)
Attached To
Mode
D34217: TCP syncache: enhance some KASSERT output
Attached
Detach File
Event Timeline
Log In to Comment