Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af32de0e authored by Vipul Pandya's avatar Vipul Pandya Committed by David S. Miller
Browse files

cxgb4vf: Fix VLAN extraction counter increment

parent d9ba8f9e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1477,8 +1477,10 @@ static void do_gro(struct sge_eth_rxq *rxq, const struct pkt_gl *gl,
	skb->ip_summed = CHECKSUM_UNNECESSARY;
	skb_record_rx_queue(skb, rxq->rspq.idx);

	if (pkt->vlan_ex)
	if (pkt->vlan_ex) {
		__vlan_hwaccel_put_tag(skb, be16_to_cpu(pkt->vlan));
		rxq->stats.vlan_ex++;
	}
	ret = napi_gro_frags(&rxq->rspq.napi);

	if (ret == GRO_HELD)