Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Mar 2004 10:02:51 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        Robert Watson <rwatson@FreeBSD.org>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/net if_loop.c
Message-ID:  <20040309180251.GF19707@Odin.AC.HMC.Edu>
In-Reply-To: <200403091727.i29HRmgP055991@repoman.freebsd.org>
References:  <200403091727.i29HRmgP055991@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040309180251.GF19707>