From: Thomas de Grenier de Latour <[EMAIL PROTECTED]>
Date: Sun, 9 Apr 2006 21:34:48 +0200

> On Sun, 9 Apr 2006 21:56:59 +0400,
> Sergey Vlasov <[EMAIL PROTECTED]> wrote:
> 
> > However, show_address() does not output anything unless
> > dev->reg_state == NETREG_REGISTERED - and this state is set by
> > netdev_run_todo() only after netdev_register_sysfs() returns, so in
> > the meantime (while netdev_register_sysfs() is busy adding the
> > "statistics" attribute group) some process may see an empty "address"
> > attribute.
> 
> I've tried the attached patch, suggested by Sergey Vlasov on
> hotplug-devel@, and as far as i can test it works just fine.

I wonder if this will cause other problems by invoked scripts
seeing the state not advanced yet?
-
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