Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 Sep 2017 10:16:15 +0000 (UTC)
From:      Kristof Provost <kp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r324116 - stable/10/sys/net
Message-ID:  <201709301016.v8UAGFUH077861@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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);
 
 /*



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