is_sk locking in sk_attach

Doug White dwhite at gumbysoft.com
Sun Jul 11 15:28:46 PDT 2004


On Sat, 10 Jul 2004, Bjoern A. Zeeb wrote:

> there had been some discussion lately about if_sk and attach locking.
> compiled if_sk as module on amd64 and kldloading started a race with
> follwoing output:

If you have unpatched sk sources, the locking is entirely wrong. You
_will_ get witness warnings.  I have a basic patch that gets rid of most
of them, and I think bms is working on a more complete lockdown.  I posted
my patch to -current, but I can't guarantee its entirely correct :)

-- 
Doug White                    |  FreeBSD: The Power to Serve
dwhite at gumbysoft.com          |  www.FreeBSD.org


More information about the freebsd-current mailing list