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. 啱wn_ioctl() is serialized when called from
> parent_updown_task() but not from other entry points. 啱'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