Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Mar 2024 17:59:08 GMT
From:      Gleb Smirnoff <glebius@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: d68ccfb4ea2b - stable/13 - vnet: add CURVNET_ASSERT_SET for !VIMAGE
Message-ID:  <202403151759.42FHx8Wi000151@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by glebius:

URL: https://cgit.FreeBSD.org/src/commit/?id=d68ccfb4ea2bf5245df1267377c35d9727c38264

commit d68ccfb4ea2bf5245df1267377c35d9727c38264
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2022-02-19 21:00:00 +0000
Commit:     Gleb Smirnoff <glebius@FreeBSD.org>
CommitDate: 2024-03-15 17:58:54 +0000

    vnet: add CURVNET_ASSERT_SET for !VIMAGE
    
    Reported by:    ler
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit 430e0e409ce94246bb252cbdddef866fc69dea95)
---
 sys/net/vnet.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/net/vnet.h b/sys/net/vnet.h
index fb26077e694c..f15669bca61a 100644
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -399,6 +399,7 @@ do {									\
 #define	CURVNET_SET(arg)
 #define	CURVNET_SET_QUIET(arg)
 #define	CURVNET_RESTORE()
+#define	CURVNET_ASSERT_SET()						\
 
 #define	VNET_LIST_RLOCK()
 #define	VNET_LIST_RLOCK_NOSLEEP()



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202403151759.42FHx8Wi000151>