Re: memif driver segfault memory corruption.

2022-07-18 Thread Ferruh Yigit
On 7/16/2022 1:15 AM, John Weston wrote: Hi, I have been working on the dpdk memif driver and encountered the following issues. Please consider these patches for review. Firstly, the zero copy code in drivers/net/memif/rte_eth_memif.c can readilly overflow the ring buffer for mbufs. This pat

memif driver segfault memory corruption.

2022-07-17 Thread John Weston
Hi, I have been working on the dpdk memif driver and encountered the following issues. Please consider these patches for review. Firstly, the zero copy code in drivers/net/memif/rte_eth_memif.c can readilly overflow the ring buffer for mbufs. This patch adjusts the n_slots used in rte_poktmbuf_al