[PATCH] net-next: treewide use is_vlan_dev() helper function.

Parav Pandit parav at mellanox.com
Sat Feb 4 16:47:14 UTC 2017


Hi Joe,

> -----Original Message-----
> From: Joe Perches [mailto:joe at perches.com]
> On Fri, 2017-02-03 at 22:26 -0600, Parav Pandit wrote:
> > This patch makes use of is_vlan_dev() function instead of flag
> > comparison which is exactly done by is_vlan_dev() helper function.
> 
> Thanks.
> 
> btw:  after applying this patch, there is one left
>
I am sending v1 to cover it as well.

> $ git grep -E -n "&\s*IFF_802_1Q_VLAN\b" -- "*.c"
> drivers/net/ethernet/chelsio/cxgb4/l2t.c:435:   if (neigh->dev->priv_flags &
> IFF_802_1Q_VLAN)



More information about the devel mailing list