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

Joe Perches joe at perches.com
Sat Feb 4 05:10:45 UTC 2017


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

$ 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