Page MenuHomeFreeBSD

D32102.id95662.diff
No OneTemporary

D32102.id95662.diff

diff --git a/sys/dev/cxgbe/t4_sge.c b/sys/dev/cxgbe/t4_sge.c
--- a/sys/dev/cxgbe/t4_sge.c
+++ b/sys/dev/cxgbe/t4_sge.c
@@ -42,6 +42,7 @@
#include <sys/kernel.h>
#include <sys/ktls.h>
#include <sys/malloc.h>
+#include <sys/msan.h>
#include <sys/queue.h>
#include <sys/sbuf.h>
#include <sys/taskqueue.h>
@@ -1754,6 +1755,7 @@
return (NULL);
}
m->m_len = len;
+ kmsan_mark(payload, len, KMSAN_STATE_INITED);
if (sc->sc_do_rxcopy && len < RX_COPY_THRESHOLD) {
/* copy data to mbuf */

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 7, 9:56 AM (17 h, 23 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31024506
Default Alt Text
D32102.id95662.diff (502 B)

Event Timeline