From owner-cvs-all@FreeBSD.ORG Tue Mar 9 10:02:57 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D5AB916A4CF; Tue, 9 Mar 2004 10:02:57 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id B823643D53; Tue, 9 Mar 2004 10:02:57 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i29I2pRH013570; Tue, 9 Mar 2004 10:02:51 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i29I2ptf013569; Tue, 9 Mar 2004 10:02:51 -0800 Date: Tue, 9 Mar 2004 10:02:51 -0800 From: Brooks Davis To: Robert Watson Message-ID: <20040309180251.GF19707@Odin.AC.HMC.Edu> References: <200403091727.i29HRmgP055991@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Zi0sgQQBxRFxMTsj" Content-Disposition: inline In-Reply-To: <200403091727.i29HRmgP055991@repoman.freebsd.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/net if_loop.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Mar 2004 18:02:58 -0000 --Zi0sgQQBxRFxMTsj Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Mar 09, 2004 at 09:27:48AM -0800, Robert Watson wrote: > rwatson 2004/03/09 09:27:48 PST >=20 > FreeBSD src repository >=20 > Modified files: > sys/net if_loop.c=20 > Log: > Introduce lo_mtx to protect the global loopback softc list. I'm not > really sure why we have a softc list for if_loop, given that it > can't be unloaded, but that's an issue to revisit in the future as > corrupting the softc list would still cause panics. The fact that if_loop can't be unloaded is the result of layering violations that it would be nice to get rid of some day. It may or not be practical, but it would be nice. I did a full cloning implementation in if_loop because it's a better example of how to build a network pseudo device then if_disc because it's closer to fully functional. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --Zi0sgQQBxRFxMTsj Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFATgbKXY6L6fI4GtQRAtdhAJ438lLHhiCUKvfh4e1fDMtfzH4+eACg5Qil HI0tHzmna40w8joP+GzuO8Q= =El8l -----END PGP SIGNATURE----- --Zi0sgQQBxRFxMTsj--