svn commit: r298150 - projects/vnet/sys/net

Bjoern A. Zeeb bz at FreeBSD.org
Sun Apr 17 16:27:05 UTC 2016


Author: bz
Date: Sun Apr 17 16:27:03 2016
New Revision: 298150
URL: https://svnweb.freebsd.org/changeset/base/298150

Log:
  Destroy (detach) the PFIL hook consumers on SI_SUB_PROTO_PFIL but
  at SI_ORDER_ANY so that they go before the actual framewrk bits.
  
  Sponsored by:	The FreeBSD Foundation

Modified:
  projects/vnet/sys/net/if_ethersubr.c

Modified: projects/vnet/sys/net/if_ethersubr.c
==============================================================================
--- projects/vnet/sys/net/if_ethersubr.c	Sun Apr 17 16:24:54 2016	(r298149)
+++ projects/vnet/sys/net/if_ethersubr.c	Sun Apr 17 16:27:03 2016	(r298150)
@@ -685,7 +685,7 @@ vnet_ether_destroy(__unused void *arg)
 		printf("%s: WARNING: unable to unregister pfil link hook, "
 			"error %d\n", __func__, i);
 }
-VNET_SYSUNINIT(vnet_ether_uninit, SI_SUB_PROTO_IF, SI_ORDER_ANY,
+VNET_SYSUNINIT(vnet_ether_uninit, SI_SUB_PROTO_PFIL, SI_ORDER_ANY,
     vnet_ether_destroy, NULL);
 
 


More information about the svn-src-projects mailing list