From ed9de14d2f9b2067c348c376823c5784593d5c5f Mon Sep 17 00:00:00 2001 From: Kristof Provost Date: Thu, 21 Sep 2017 14:14:01 +0000 Subject: [PATCH] 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 Reported by: Marie Helene Kvello-Aune --- sys/net/if_bridge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c index e67e287bd861..efd50d9c7f4f 100644 --- a/sys/net/if_bridge.c +++ b/sys/net/if_bridge.c @@ -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); /*