Author: kevans
Date: Sun Apr 28 03:51:08 2019
New Revision: 346803
URL: https://svnweb.freebsd.org/changeset/base/346803

Log:
  MFC r346688-r346689: tap(4) MODULE_VERSION
  
  r346688:
  tap(4): Add a MODULE_VERSION
  
  Otherwise tap(4) can be loaded by loader despite being compiled into the
  kernel, causing a panic as things try to double-initialize.
  
  r346689:
  tap(4): Correct driver name...
  
  PR:           220867

Modified:
  stable/11/sys/net/if_tap.c
Directory Properties:
  stable/11/   (props changed)

Changes in other areas also in this revision:
Modified:
  stable/12/sys/net/if_tap.c
Directory Properties:
  stable/12/   (props changed)

Modified: stable/11/sys/net/if_tap.c
==============================================================================
--- stable/11/sys/net/if_tap.c  Sun Apr 28 03:49:40 2019        (r346802)
+++ stable/11/sys/net/if_tap.c  Sun Apr 28 03:51:08 2019        (r346803)
@@ -175,6 +175,7 @@ SYSCTL_INT(_net_link_tap, OID_AUTO, devfs_cloning, CTL
 SYSCTL_INT(_net_link_tap, OID_AUTO, debug, CTLFLAG_RW, &tapdebug, 0, "");
 
 DEV_MODULE(if_tap, tapmodevent, NULL);
+MODULE_VERSION(if_tap, 1);
 
 static int
 tap_clone_create(struct if_clone *ifc, int unit, caddr_t params)
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to