aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/hyperv
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2022-01-03 18:15:22 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2022-01-03 18:15:22 +0000
commit644ca0846da3492bf286201fd9a81659d044f589 (patch)
treecd63efd39508d603255eefb4b255cd25d92e54dc /sys/dev/hyperv
parent24e1c6ae7d3f7731a0884a62e9d5273e5ca1335a (diff)
downloadsrc-644ca0846da3492bf286201fd9a81659d044f589.tar.gz
src-644ca0846da3492bf286201fd9a81659d044f589.zip
domains: make domain_init() initialize only global state
Now that each module handles its global and VNET initialization itself, there is no VNET related stuff left to do in domain_init(). Differential revision: https://reviews.freebsd.org/D33541
Diffstat (limited to 'sys/dev/hyperv')
-rw-r--r--sys/dev/hyperv/hvsock/hv_sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hyperv/hvsock/hv_sock.c b/sys/dev/hyperv/hvsock/hv_sock.c
index b2a84befafa2..4bd98d154cbf 100644
--- a/sys/dev/hyperv/hvsock/hv_sock.c
+++ b/sys/dev/hyperv/hvsock/hv_sock.c
@@ -130,7 +130,7 @@ static struct domain hv_socket_domain = {
.dom_protoswNPROTOSW = &hv_socket_protosw[nitems(hv_socket_protosw)]
};
-VNET_DOMAIN_SET(hv_socket_);
+DOMAIN_SET(hv_socket_);
#define MAX_PORT ((uint32_t)0xFFFFFFFF)
#define MIN_PORT ((uint32_t)0x0)