Imported Upstream version 16.11.1
[deb_dpdk.git] / drivers / net / i40e / i40e_rxtx_vec_common.h
index 6cb5dce..990520f 100644 (file)
@@ -71,6 +71,7 @@ reassemble_packets(struct i40e_rx_queue *rxq, struct rte_mbuf **rx_bufs,
                                        /* free up last mbuf */
                                        struct rte_mbuf *secondlast = start;
 
+                                       start->nb_segs--;
                                        while (secondlast->next != end)
                                                secondlast = secondlast->next;
                                        secondlast->data_len -= (rxq->crc_len -