summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>2018-11-09 00:18:05 +0100
committerDavid S. Miller <davem@davemloft.net>2018-11-09 05:45:04 +0100
commit4b17f9fe48c001d8fbcb7995df33a502dac25ae6 (patch)
tree82c76c991f9364d25c28d527a7067fbd55259a6b /drivers
parentbenet: use __vlan_hwaccel helpers (diff)
downloadlinux-4b17f9fe48c001d8fbcb7995df33a502dac25ae6.tar.xz
linux-4b17f9fe48c001d8fbcb7995df33a502dac25ae6.zip
mlx4: use __vlan_hwaccel helpers
Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/net/ethernet/mellanox/mlx4/en_rx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx4/en_rx.c b/drivers/net/ethernet/mellanox/mlx4/en_rx.c
index db00bf1c23f5..fd09ba98c0a6 100644
--- a/drivers/net/ethernet/mellanox/mlx4/en_rx.c
+++ b/drivers/net/ethernet/mellanox/mlx4/en_rx.c
@@ -875,7 +875,7 @@ csum_none:
skb->data_len = length;
napi_gro_frags(&cq->napi);
} else {
- skb->vlan_tci = 0;
+ __vlan_hwaccel_clear_tag(skb);
skb_clear_hash(skb);
}
next: