提交 4b17f9fe 编写于 作者: M Michał Mirosław 提交者: David S. Miller

mlx4: use __vlan_hwaccel helpers

Signed-off-by: NMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 c4062f89
......@@ -875,7 +875,7 @@ int mlx4_en_process_rx_cq(struct net_device *dev, struct mlx4_en_cq *cq, int bud
skb->data_len = length;
napi_gro_frags(&cq->napi);
} else {
skb->vlan_tci = 0;
__vlan_hwaccel_clear_tag(skb);
skb_clear_hash(skb);
}
next:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册