net: add netif_is_team_master helper
authorJiri Pirko <jiri@mellanox.com>
Thu, 3 Dec 2015 11:12:06 +0000 (12:12 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2015 16:49:24 +0000 (11:49 -0500)
commitc981e4213e9d2d4ec79501bd607722ec712742a2
tree57a760547a7f9fdf51a8f346a6275b195f474d39
parent3952af4d50343728e54bf93880e0ecb9c42c47aa
net: add netif_is_team_master helper

Similar to other helpers, caller can use this to find out if device is
team master.

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