svn commit: r297743 - projects/vnet/sys/kern
Bjoern A. Zeeb
bz at FreeBSD.org
Sat Apr 9 12:13:46 UTC 2016
Author: bz
Date: Sat Apr 9 12:13:45 2016
New Revision: 297743
URL: https://svnweb.freebsd.org/changeset/base/297743
Log:
There is no need to use SI_SUB_MBUF for hhoks. Move them to PROTO_BEGIN.
Sponsored by: The FreeBSD Foundation
Modified:
projects/vnet/sys/kern/kern_hhook.c
Modified: projects/vnet/sys/kern/kern_hhook.c
==============================================================================
--- projects/vnet/sys/kern/kern_hhook.c Sat Apr 9 12:05:23 2016 (r297742)
+++ projects/vnet/sys/kern/kern_hhook.c Sat Apr 9 12:13:45 2016 (r297743)
@@ -510,7 +510,7 @@ hhook_vnet_uninit(const void *unused __u
/*
* When a vnet is created and being initialised, init the V_hhook_vhead_list.
*/
-VNET_SYSINIT(hhook_vnet_init, SI_SUB_MBUF, SI_ORDER_FIRST,
+VNET_SYSINIT(hhook_vnet_init, SI_SUB_PROTO_BEGIN, SI_ORDER_ANY,
hhook_vnet_init, NULL);
/*
@@ -518,5 +518,5 @@ VNET_SYSINIT(hhook_vnet_init, SI_SUB_MBU
* points to clean up on vnet tear down, but in case the KPI is misused,
* provide a function to clean up and free memory for a vnet being destroyed.
*/
-VNET_SYSUNINIT(hhook_vnet_uninit, SI_SUB_MBUF, SI_ORDER_ANY,
+VNET_SYSUNINIT(hhook_vnet_uninit, SI_SUB_PROTO_BEGIN, SI_ORDER_ANY,
hhook_vnet_uninit, NULL);
More information about the svn-src-projects
mailing list