]> 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)
commit538ae32f76523374414a94d17150ac373313447f
tree84381863d07f36878b5b382f40d6dd2ab9c6bfb8
parent639a13804a6578e647f58e562e05bc54698a7713
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