is_sk locking in sk_attach

Bjoern A. Zeeb bzeeb-lists at lists.zabbadoz.net
Sun Jul 11 23:00:21 PDT 2004


On Sun, 11 Jul 2004, Doug White wrote:

> 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

with my attach patch not yet, but I had seen those with my old kernel
including a LOR.

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

I had thought it got comitted already. Will import it into my
local tree then. Thanks.

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT


More information about the freebsd-current mailing list