Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Use a generic description when scanning mbufs.



details:   https://anonhg.NetBSD.org/src/rev/6514fe6d3261
branches:  trunk
changeset: 972076:6514fe6d3261
user:      maxv <maxv%NetBSD.org@localhost>
date:      Fri May 15 07:47:53 2020 +0000

description:
Use a generic description when scanning mbufs.

diffstat:

 sys/kern/subr_msan.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 14a966a56daf -r 6514fe6d3261 sys/kern/subr_msan.c
--- a/sys/kern/subr_msan.c      Fri May 15 07:42:58 2020 +0000
+++ b/sys/kern/subr_msan.c      Fri May 15 07:47:53 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_msan.c,v 1.10 2020/04/15 16:28:28 maxv Exp $      */
+/*     $NetBSD: subr_msan.c,v 1.11 2020/05/15 07:47:53 maxv Exp $      */
 
 /*
  * Copyright (c) 2019-2020 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_msan.c,v 1.10 2020/04/15 16:28:28 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_msan.c,v 1.11 2020/05/15 07:47:53 maxv Exp $");
 
 #include <sys/param.h>
 #include <sys/device.h>
@@ -513,7 +513,7 @@
        struct mbuf *m = buf;
 
        do {
-               kmsan_shadow_check(mtod(m, void *), m->m_len, "if_transmit()");
+               kmsan_shadow_check(mtod(m, void *), m->m_len, "MbufChain");
        } while ((m = m->m_next) != NULL);
 }
 



Home | Main Index | Thread Index | Old Index