On Fri, Mar 04, 2005 at 04:32:43PM +0300, dima wrote: ... > PS: my question about locking in ether_poll_register() is still actual. I > think pr[] should be protected by sx while adding a new handler.
ether_poll_register() was called by *foo_intr() so in 4.x it was protected by splimp() or Giant. It is likely that now, with drivers being no more under a single lock, you need to protect it as well with a private lock. cheers luigi _______________________________________________ freebsd-net@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "[EMAIL PROTECTED]"