diff options
author | 2015-04-02 17:07:10 +0200 | |
---|---|---|
committer | 2015-04-02 14:05:01 -0400 | |
commit | e1622baf54df8cc958bf29d71de5ad545ea7d93c (patch) | |
tree | 4a019a2a3e79c4fc9706b91cbb55d2cd053065d4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: remove iflink field from struct net_device (diff) | |
download | linux-dev-e1622baf54df8cc958bf29d71de5ad545ea7d93c.tar.xz linux-dev-e1622baf54df8cc958bf29d71de5ad545ea7d93c.zip |
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>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions