diff options
| author | Nicolas Dichtel <[email protected]> | 2015-04-02 15:07:10 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-04-02 18:05:01 +0000 |
| commit | e1622baf54df8cc958bf29d71de5ad545ea7d93c (patch) | |
| tree | 4a019a2a3e79c4fc9706b91cbb55d2cd053065d4 /net/ipv6/tcp_ipv6.c | |
| parent | net: remove iflink field from struct net_device (diff) | |
| download | kernel-e1622baf54df8cc958bf29d71de5ad545ea7d93c.tar.gz kernel-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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
