[issue2032] iwn panic: assertion: !IS_SERIALIZED((s)) in lwkt_serialize_enter

Sepherosa Ziehau sepherosa at gmail.com
Tue Mar 22 03:52:26 PDT 2011


On Tue, Mar 22, 2011 at 6:39 PM, Joe Talbott (via DragonFly issue
tracker) <sinknull at leaf.dragonflybsd.org> wrote:
>
> Joe Talbott <josepht at cstone.net> added the comment:
>
> I'm working on a solution to this.  Iwn_ioctl() is serialized when called from
> parent_updown_task() but not from other entry points.  I'm thinking I should
> just remove the serialization from parent_updown_task(), but I'll need to do a
> bit of research first.

No, all ifnet.if_xxx function pointers should be serialized by the
callers.  You could take a look at any wired driver for example.
Actually we do not use the xxx_locked() style functions.

Best Regards,
sephe

-- 
Tomorrow Will Never Die






More information about the Bugs mailing list