cvs commit: src/sys/net if_loop.c
Brooks Davis
brooks at one-eyed-alien.net
Tue Mar 9 10:02:58 PST 2004
On Tue, Mar 09, 2004 at 09:27:48AM -0800, Robert Watson wrote:
> rwatson 2004/03/09 09:27:48 PST
>
> FreeBSD src repository
>
> Modified files:
> sys/net if_loop.c
> 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
--
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040309/fe3cf707/attachment.bin
More information about the cvs-src
mailing list