[dpdk-dev] [PATCH] librte_port: fix the buffer overflow for ring writer

2016-04-11 Thread Thomas Monjalon
2016-04-11 18:55, Jasvinder Singh: > Fixes the buffer overflow that occurs due to following; > > 1. When the input packet burst does not meet the conditions: (a) being > contiguous (first n bits set in pkts_mask, all the other bits cleared) > and (b) containing a full burst, i.e. at least tx_burst

[dpdk-dev] [PATCH] librte_port: fix the buffer overflow for ring writer

2016-04-11 Thread Jasvinder Singh
Fixes the buffer overflow that occurs due to following; 1. When the input packet burst does not meet the conditions: (a) being contiguous (first n bits set in pkts_mask, all the other bits cleared) and (b) containing a full burst, i.e. at least tx_burst_sz packets (n >= tx_burst_size). This is the