356445f97a
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 slow(er) code path taken when local variable expr != 0. 2. There are some packets already in the buffer. 3. The number of packets in the incoming burst (i.e. popcount(pkts_mask)) plus the number of packets already in the buffer exceeds the buffer size (RTE_PORT_IN_BURST_SIZE_MAX, i.e. 64). Fixes: |
||
---|---|---|
.. | ||
Makefile | ||
rte_port_ethdev.c | ||
rte_port_ethdev.h | ||
rte_port_frag.c | ||
rte_port_frag.h | ||
rte_port_ras.c | ||
rte_port_ras.h | ||
rte_port_ring.c | ||
rte_port_ring.h | ||
rte_port_sched.c | ||
rte_port_sched.h | ||
rte_port_source_sink.c | ||
rte_port_source_sink.h | ||
rte_port_version.map | ||
rte_port.h |