Date: Tue, 14 Apr 2009 21:05:55 GMT From: Marko Zec <zec@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 160642 for review Message-ID: <200904142105.n3EL5tTW041105@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=160642 Change 160642 by zec@zec_tpx32 on 2009/04/14 21:05:18 Either register vnet_inet_iattach() via the vnet_mod_register() framework and let it be called by the framework, or call vnet_net_iattach() directly, but not both. Affected files ... .. //depot/projects/vimage-commit/src/sys/net/if.c#18 edit Differences ... ==== //depot/projects/vimage-commit/src/sys/net/if.c#18 (text+ko) ==== @@ -401,8 +401,9 @@ #ifndef VIMAGE_GLOBALS vnet_mod_register(&vnet_net_modinfo); +#else + vnet_net_iattach(NULL); #endif - vnet_net_iattach(NULL); IFNET_LOCK_INIT(); ifdev_setbyindex(0, make_dev(&net_cdevsw, 0, UID_ROOT, GID_WHEEL,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904142105.n3EL5tTW041105>