aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/param.h
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2020-02-17 11:08:50 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2020-02-17 11:08:50 +0000
commit10108cb6737ba39ad0289e84255f039a8258a6cc (patch)
tree10324cbc56938d99baedfd96b057d14a4e5ff195 /sys/sys/param.h
parentbacb11c9ed37886069dbfe4303f414b731d5957e (diff)
downloadsrc-10108cb6737ba39ad0289e84255f039a8258a6cc.tar.gz
src-10108cb6737ba39ad0289e84255f039a8258a6cc.zip
Partially revert VNET change and expand VNET structure.
Revert parts of r353274 replacing vnet_state with a shutdown flag. Not having the state flag for the current SI_SUB_* makes it harder to debug kernel or module panics related to VNET bringup or teardown. Not having the state also does not allow us to check for other dependency levels between components, e.g. for moving interfaces. Expand the VNET structure with the new boolean flag indicating that we are doing a shutdown of a given vnet and update the vnet magic cookie for the change. Update libkvm to compile with a bool in the kernel struct. Bump __FreeBSD_version for (external) module builds to more easily detect the change. Reviewed by: hselasky MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D23097
Notes
Notes: svn path=/head/; revision=358020
Diffstat (limited to 'sys/sys/param.h')
-rw-r--r--sys/sys/param.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/param.h b/sys/sys/param.h
index 6cbf09c6ca8d..398038a0c31a 100644
--- a/sys/sys/param.h
+++ b/sys/sys/param.h
@@ -60,7 +60,7 @@
* in the range 5 to 9.
*/
#undef __FreeBSD_version
-#define __FreeBSD_version 1300077 /* Master, propagated to newvers */
+#define __FreeBSD_version 1300078 /* Master, propagated to newvers */
/*
* __FreeBSD_kernel__ indicates that this system uses the kernel of FreeBSD,