mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
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. PR: 220867 MFC after: 3 days
This commit is contained in:
parent
b09626b330
commit
9ea63b2caa
1 changed files with 1 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ SYSCTL_INT(_net_link_tap, OID_AUTO, devfs_cloning, CTLFLAG_RWTUN, &tapdclone, 0,
|
|||
SYSCTL_INT(_net_link_tap, OID_AUTO, debug, CTLFLAG_RW, &tapdebug, 0, "");
|
||||
|
||||
DEV_MODULE(if_tap, tapmodevent, NULL);
|
||||
MODULE_VERSION(if_tun, 1);
|
||||
|
||||
static int
|
||||
tap_clone_create(struct if_clone *ifc, int unit, caddr_t params)
|
||||
|
|
|
|||
Loading…
Reference in a new issue