On Mon, Feb 19, 2007 at 07:55:48AM +0100, Jarek Poplawski wrote:
...
> So to use this we only need such changes:
> 
>  ... some_delayed_work_func(...)
>  {
>       ...
> -     rtnl_lock();
> +     rtnl_lock_work();
>       ...
> -     rtnl_unlock();
> +     rtnl_unlock_work();
>  }
> 
>  ... some_delayed_work_func(...)

Sorry! Of course:

  ... some_closing_with_flush_func(...)
>  {
>       ...
> +     rtnl_set_flush();
>       flush_scheduled_work;
>       /* or cancel_rearming_delayed_work(...); etc. */
> +     rtnl_unset_flush();
>  }

Jarek P.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to