git: 430e0e409ce9 - main - vnet: add CURVNET_ASSERT_SET for !VIMAGE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 19 Feb 2022 21:01:03 UTC
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=430e0e409ce94246bb252cbdddef866fc69dea95
commit 430e0e409ce94246bb252cbdddef866fc69dea95
Author: Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2022-02-19 21:00:00 +0000
Commit: Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2022-02-19 21:00:00 +0000
vnet: add CURVNET_ASSERT_SET for !VIMAGE
Reported by: ler
Sponsored by: Rubicon Communications, LLC ("Netgate")
---
sys/net/vnet.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/net/vnet.h b/sys/net/vnet.h
index 86ddd444fc09..48c2536be8b4 100644
--- a/sys/net/vnet.h
+++ b/sys/net/vnet.h
@@ -407,6 +407,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()