From: Herbert Xu <[EMAIL PROTECTED]>
Date: Sat, 25 Mar 2006 16:00:51 +1100

> The netdev notifier call chain is currently unregistered without taking
> any locks outside the notifier system.  Because the notifier system itself
> does not synchronise unregistration with respect to the calling of the
> chain, we as its user need to do our own locking.
> 
> We are supposed to take the RTNL for all calls to netdev notifiers, so
> taking the RTNL should be sufficient to protect it.
> 
> The registration path in dev.c already takes the RTNL so it's OK.
> 
> Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>

Looks great, applied.

Did you actually encounter some bug due to this or it is purely
from code audit?

Thanks.
-
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