2016-07-21 14:03, Ilya Maximets: > From: Sergey Dyasly <s.dyasly at samsung.com> > > Rx loop inside _recv_raw_pkts_vec() ignores nb_pkts argument and always > tries to receive RTE_I40E_VPMD_RX_BURST (32) packets. This is a violation > of rte_eth_rx_burst() API and can lead to memory corruption (out-of-bounds > writes to struct rte_mbuf **rx_pkts) if nb_pkts is less than 32. > > Fix this by actually using nb_pkts inside the loop. > > Fixes: 9ed94e5bb04e ("i40e: add vector Rx") > > Signed-off-by: Sergey Dyasly <s.dyasly at samsung.com> > Acked-by: Ilya Maximets <i.maximets at samsung.com>
Applied, thanks