net: Add netif_is_l3_slave
authorDavid Ahern <dsa@cumulusnetworks.com>
Mon, 5 Oct 2015 15:51:24 +0000 (08:51 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 7 Oct 2015 11:27:43 +0000 (04:27 -0700)
commitfee6d4c777a125e56de9370db3b2bf359bf958d6
tree19bf245321e6d1265e34f550fd479d83ffc69aed
parent6e2895a8e3824eb5611c97a015a3b6d678b4503e
net: Add netif_is_l3_slave

IPv6 addrconf keys off of IFF_SLAVE so can not use it for L3 slave.
Add a new private flag and add netif_is_l3_slave function for checking
it.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vrf.c
include/linux/netdevice.h
net/l3mdev/l3mdev.c