svn commit: r255926 - head/sys/net
Gleb Smirnoff
glebius at FreeBSD.org
Sat Sep 28 14:14:24 UTC 2013
Author: glebius
Date: Sat Sep 28 14:14:23 2013
New Revision: 255926
URL: http://svnweb.freebsd.org/changeset/base/255926
Log:
Fix a fallout from r241610. One enc interface must be created on startup.
Pointy hat to: glebius
Reported by: gavin
Approved by: re (gjb)
Modified:
head/sys/net/if_enc.c
Modified: head/sys/net/if_enc.c
==============================================================================
--- head/sys/net/if_enc.c Sat Sep 28 13:58:21 2013 (r255925)
+++ head/sys/net/if_enc.c Sat Sep 28 14:14:23 2013 (r255926)
@@ -168,7 +168,7 @@ enc_modevent(module_t mod, int type, voi
case MOD_LOAD:
mtx_init(&enc_mtx, "enc mtx", NULL, MTX_DEF);
enc_cloner = if_clone_simple(encname, enc_clone_create,
- enc_clone_destroy, 0);
+ enc_clone_destroy, 1);
break;
case MOD_UNLOAD:
printf("enc module unload - not possible for this module\n");
More information about the svn-src-all
mailing list