net: add netif_is_ovs_master helper with IFF_OPENVSWITCH private flag
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Aug 2015 07:31:20 +0000 (09:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2015 23:28:35 +0000 (16:28 -0700)
Add this helper so code can easily figure out if netdev is openswitch.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/netdevice.h
net/openvswitch/vport-internal_dev.c

Simple merge
Simple merge