[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5550D2F1.5030100@6wind.com>
Date: Mon, 11 May 2015 18:04:01 +0200
From: Nicolas Dichtel <nicolas.dichtel@...nd.com>
To: Jiri Pirko <jiri@...nulli.us>
CC: davem@...emloft.net, netdev@...r.kernel.org, j.vosburgh@...il.com,
vfalico@...il.com, gospo@...ulusnetworks.com
Subject: Re: [PATCH net] rtnl: don't send rtnl msg for unregistered iface
Le 11/05/2015 17:37, Jiri Pirko a écrit :
[snip]
>
> I don't think this is the correct way to fix this.
>
> How ifindex can be 0 here? Ifindex is set in register_netdevice and
> looking at bond_create, I don't see any call to __bond_opt_set before
> that. But since it apparently is, the ordering should be changed so
> register_netdevice is called first.
bond_newlink => bond_changelink => __bond_opt_set
and then back to bond_newlink => register_netdevice
Regards,
Nicolas
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists