[dpdk-dev] [PATCH 2/4] port: fix ring writer buffer overflow

2016-04-01 Thread Sanford, Robert
> > >> -Original Message- >> From: Robert Sanford [mailto:rsanford2 at gmail.com] >> Sent: Monday, March 28, 2016 9:52 PM >> To: dev at dpdk.org; Dumitrescu, Cristian >> Subject: [PATCH 2/4] port: fix ring writer buffer overflow >> >> Ring writer tx_bulk functions may write past the

[dpdk-dev] [PATCH 2/4] port: fix ring writer buffer overflow

2016-03-31 Thread Dumitrescu, Cristian
> -Original Message- > From: Robert Sanford [mailto:rsanford2 at gmail.com] > Sent: Monday, March 28, 2016 9:52 PM > To: dev at dpdk.org; Dumitrescu, Cristian > Subject: [PATCH 2/4] port: fix ring writer buffer overflow > > Ring writer tx_bulk functions may write past the end of

[dpdk-dev] [PATCH 2/4] port: fix ring writer buffer overflow

2016-03-28 Thread Robert Sanford
Ring writer tx_bulk functions may write past the end of tx_buf[]. Solution is to double the size of tx_buf[]. Signed-off-by: Robert Sanford --- lib/librte_port/rte_port_ring.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_port/rte_port_ring.c