svn commit: r324115 - stable/11/sys/net

Kristof Provost kp at FreeBSD.org
Sat Sep 30 10:15:05 UTC 2017


Author: kp
Date: Sat Sep 30 10:15:04 2017
New Revision: 324115
URL: https://svnweb.freebsd.org/changeset/base/324115

Log:
  MFC r323864
  
  bridge: Set module version
  
  This ensures that the loader will not load the module if it's also built in to
  the kernel.
  
  PR:             220860
  Submitted by:   Eugene Grosbein <eugen at freebsd.org>

Modified:
  stable/11/sys/net/if_bridge.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/net/if_bridge.c
==============================================================================
--- stable/11/sys/net/if_bridge.c	Sat Sep 30 10:03:42 2017	(r324114)
+++ stable/11/sys/net/if_bridge.c	Sat Sep 30 10:15:04 2017	(r324115)
@@ -584,6 +584,7 @@ static moduledata_t bridge_mod = {
 };
 
 DECLARE_MODULE(if_bridge, bridge_mod, SI_SUB_PSEUDO, SI_ORDER_ANY);
+MODULE_VERSION(if_bridge, 1);
 MODULE_DEPEND(if_bridge, bridgestp, 1, 1, 1);
 
 /*


More information about the svn-src-all mailing list