DragonFly bugs List (threaded) for 2011-03
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
Re: [issue2032] iwn panic: assertion: !IS_SERIALIZED((s)) in lwkt_serialize_enter
On Tue, Mar 22, 2011 at 6:39 PM, Joe Talbott (via DragonFly issue
tracker) <sinknull@leaf.dragonflybsd.org> wrote:
>
> Joe Talbott <josepht@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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]