commit | e1622baf54df8cc958bf29d71de5ad545ea7d93c | [log] [tgz] |
---|---|---|
author | Nicolas Dichtel <nicolas.dichtel@6wind.com> | Thu Apr 02 17:07:10 2015 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Apr 02 14:05:01 2015 -0400 |
tree | 4a019a2a3e79c4fc9706b91cbb55d2cd053065d4 | |
parent | 7a66bbc96ce9ad8261fa5f7f6ae65370eb6866ee [diff] |
dev: set iflink to 0 for virtual interfaces Virtual interfaces are supposed to set an iflink value != of their ifindex. It was not the case for some of them, like vxlan, bond or bridge. Let's set iflink to 0 when dev->rtnl_link_ops is set. Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com> Signed-off-by: David S. Miller <davem@davemloft.net>