rwlock patch for bridge

From: Andrew Thompson <thompsa_at_freebsd.org>
Date: Thu, 16 Feb 2006 10:15:34 +1300
Hi,


Here is a patch that changes if_bridge to use rwlock(9) rather than the
handrolled ref counting. Can I please get it reviewed to ensure I have
the changes correct. I pondered if the order of unlocking the softc
mutex and grabbing the rlock mattered but decided it didn't.
It has passed a runtime test.


cheers,

Andrew

Received on Wed Feb 15 2006 - 20:15:39 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:52 UTC