dev: introduce dev_get_iflink()
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 2 Apr 2015 15:07:00 +0000 (17:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 18:04:59 +0000 (14:04 -0400)
commita54acb3a6f853e8394c4cb7b6a4d93c88f13eefd
treeb1e887d2bc8c205d4fe3b331e40fddba5de6ee01
parent033f46b3c13d4072d8ee6b26dd1e90fdd06895d0
dev: introduce dev_get_iflink()

The goal of this patch is to prepare the removal of the iflink field. It
introduces a new ndo function, which will be implemented by virtual interfaces.

There is no functional change into this patch. All readers of iflink field
now call dev_get_iflink().

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan_core.c
include/linux/netdevice.h
net/batman-adv/hard-interface.c
net/bridge/br_netlink.c
net/core/dev.c
net/core/link_watch.c
net/core/net-sysfs.c
net/core/rtnetlink.c
net/ipv4/ipmr.c
net/ipv6/addrconf.c
net/ipv6/ip6mr.c