# Re: \[patch net-next v3 04/28\] net: add netif\_is\_team\_master helper

- From: Jiri Pirko \<jiri@resnulli.us\>
- Date: 2015-12-03 13:49:13 
- List: netdev
- Page: https://ratatoskr.run/netdev/2015/12/11003999
- Thread: https://ratatoskr.run/netdev/2015/12/11003963/t.md

```text
Thu, Dec 03, 2015 at 01:46:01PM CET, eric.dumazet@gmail.com wrote:
>On Thu, 2015-12-03 at 12:12 +0100, Jiri Pirko wrote:
>
>>   *	struct net_device - The DEVICE structure.
>> @@ -3887,6 +3890,11 @@ static inline bool netif_is_ovs_master(const struct net_device *dev)
>>  	return dev->priv_flags & IFF_OPENVSWITCH;
>>  }
>>  
>> +static inline bool netif_is_team_master(struct net_device *dev)
>> +{
>> +	return dev->priv_flags & IFF_TEAM;
>> +}
>> +
>
>Please add 'const' qualifiers whenever possible, like for
>netif_is_ovs_master(const struct net_device *dev)

Okay, will do. Thanks.
```
