On Tue, Dec 09, 2014 at 09:24:18AM +0100, Johannes Berg wrote: > On Mon, 2014-12-08 at 23:48 +0200, vadim4j@xxxxxxxxx wrote: > > > What I worry about is this peace of code in net/core/dev.c : > > > > int register_netdevice(struct net_device *dev) > > { > > ... > > > > if (!dev->rtnl_link_ops || > > dev->rtnl_link_state == RTNL_LINK_INITIALIZED) > > rtmsg_ifinfo(RTM_NEWLINK, dev, ~0U, GFP_KERNEL); > > ... > > } > > rtnl_link_state should be RTNL_LINK_INITIALIZED though, unless somebody > set something else. > > johannes > OK I tested & checked by code that RTNL_LINK_INITIALIZED is set, and RTM_NEWLINK message will be sent as it was before. I will resend the patch. Thanks, -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html