NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/43294: locking against myself in ioctl setting up a gre interface

> martin
> this locking panic you ran into
> someone hammered a locking fix into the socket code without getting it
+reviewed. if i had time i would back it out, contact the comitter and post it
+to tech-net.
> softnet_lock was deliberately NOT taken for interface ioctl operations.
<martin> andrew: it is now kern/43294, please comment there
<martin> why wasn't it taken?
> because interface ioctls do stuff like allocate memory with M_WAITOK and so
> it needs more complex serialization
<martin> can of worms, I see
> the fallback position currently is kernel_lock+splnet.
> but there are still race conditions with that.

Home | Main Index | Thread Index | Old Index