net: add netif_is_bridge_master helper
authorJiri Pirko <jiri@mellanox.com>
Thu, 27 Aug 2015 07:31:19 +0000 (09:31 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Aug 2015 23:28:34 +0000 (16:28 -0700)
commit0894ae3f0a587bda9733ec4a4b67af7ded3a9498
tree6f7b365d8464b9711c8a1e14983fdc666dac96c6
parent0e4ead9d7b3655d76371604abb9b0dcc4e79bb7d
net: add netif_is_bridge_master helper

Add this helper so code can easily figure out if netdev is a bridge.

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