Date: Mon, 31 May 2010 22:18:42 +0000 (UTC) From: Robert Watson <rwatson@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org Subject: svn commit: r208679 - stable/8/sys/net Message-ID: <201005312218.o4VMIgWG039051@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rwatson Date: Mon May 31 22:18:42 2010 New Revision: 208679 URL: http://svn.freebsd.org/changeset/base/208679 Log: Merge r204173 from head to stable/8: ifconfig(8) expects interface fooX to be supported by the module if_foo, and will try to load it if it's not present. To better meet these expectations, change the module name for the loopback interface from 'loop' to 'if_lo'. The loopback interface is always compiled into the base kernel, so there are no resulting changes in kld files, etc. Discussed with: brooks (ages ago) Approved by: re (bz, kib) Modified: stable/8/sys/net/if_loop.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) stable/8/sys/geom/sched/ (props changed) Modified: stable/8/sys/net/if_loop.c ============================================================================== --- stable/8/sys/net/if_loop.c Mon May 31 22:07:18 2010 (r208678) +++ stable/8/sys/net/if_loop.c Mon May 31 22:18:42 2010 (r208679) @@ -200,12 +200,12 @@ loop_modevent(module_t mod, int type, vo } static moduledata_t loop_mod = { - "loop", + "if_lo", loop_modevent, 0 }; -DECLARE_MODULE(loop, loop_mod, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY); +DECLARE_MODULE(if_lo, loop_mod, SI_SUB_PROTO_IFATTACHDOMAIN, SI_ORDER_ANY); int looutput(struct ifnet *ifp, struct mbuf *m, struct sockaddr *dst,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005312218.o4VMIgWG039051>