svn commit: r323864 - head/sys/net
Kristof Provost
kp at FreeBSD.org
Thu Sep 21 14:14:02 UTC 2017
Author: kp
Date: Thu Sep 21 14:14:01 2017
New Revision: 323864
URL: https://svnweb.freebsd.org/changeset/base/323864
Log:
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>
Reported by: Marie Helene Kvello-Aune <marieheleneka at gmail.com>
Modified:
head/sys/net/if_bridge.c
Modified: head/sys/net/if_bridge.c
==============================================================================
--- head/sys/net/if_bridge.c Thu Sep 21 12:37:12 2017 (r323863)
+++ head/sys/net/if_bridge.c Thu Sep 21 14:14:01 2017 (r323864)
@@ -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