Page MenuHomeFreeBSD

D58466.1795214107.diff
No OneTemporary

Authored By
Unknown
Size
526 B
Referenced Files
None
Subscribers
None

D58466.1795214107.diff

diff --git a/sys/kern/uipc_mbuf.c b/sys/kern/uipc_mbuf.c
--- a/sys/kern/uipc_mbuf.c
+++ b/sys/kern/uipc_mbuf.c
@@ -2147,6 +2147,15 @@
mprev = NULL;
for (m = m0; m != NULL; m = mprev->m_next) {
+ /*
+ * m_unshare() can not process KTLS mbufs because they must
+ * neither be linearized nor converted to mapped.
+ */
+ if (mbuf_has_tls_session(m)) {
+ m_freem(m0);
+ return (NULL);
+ }
+
/*
* Regular mbufs are ignored unless there's a cluster
* in front of it that we can use to coalesce. We do

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 20, 10:35 PM (20 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41876912
Default Alt Text
D58466.1795214107.diff (526 B)

Event Timeline