Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2017 14:14:01 +0000 (UTC)
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323864 - head/sys/net
Message-ID:  <201709211414.v8LEE1QZ072238@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@freebsd.org>
  Reported by:	Marie Helene Kvello-Aune <marieheleneka@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);
 
 /*



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709211414.v8LEE1QZ072238>