mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-03 19:08:58 +00:00
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@freebsd.org>
This commit is contained in:
parent
03e11d1e98
commit
3beccaf9a5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/stable/10/; revision=324116
@ -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);
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user