]> git.baikalelectronics.ru Git - kernel.git/commit
net: remove iflink field from struct net_device
authorNicolas Dichtel <nicolas.dichtel@6wind.com>
Thu, 2 Apr 2015 15:07:09 +0000 (17:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 2 Apr 2015 18:05:01 +0000 (14:05 -0400)
commit3f782593971bb72cf0e7f607a535aa0c257423aa
tree84381863d07f36878b5b382f40d6dd2ab9c6bfb8
parentf8c3409364231e3ac8760323e2bbc404bc212fce
net: remove iflink field from struct net_device

Now that all users of iflink have the ndo_get_iflink handler available, it's
possible to remove this field.

By default, dev_get_iflink() returns the ifindex of the interface.

Signed-off-by: Nicolas Dichtel <nicolas.dichtel@6wind.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/core/dev.c