svn commit: r324116 - stable/10/sys/net
Kristof Provost
kp at FreeBSD.org
Sat Sep 30 10:16:16 UTC 2017
Author: kp
Date: Sat Sep 30 10:16:15 2017
New Revision: 324116
URL: https://svnweb.freebsd.org/changeset/base/324116
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/10/sys/net/if_bridge.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/net/if_bridge.c
==============================================================================
--- stable/10/sys/net/if_bridge.c Sat Sep 30 10:15:04 2017 (r324115)
+++ stable/10/sys/net/if_bridge.c Sat Sep 30 10:16:15 2017 (r324116)
@@ -537,6 +537,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-stable
mailing list