mirror of https://github.com/OISF/suricata
dpdk: adjust burst size to mempool size
When mempool size was configured really low (<32), Suricata exhausted the mempool with the rx_burst call, which led to undefined behavior. The current fix ensures the burst size is at most the size of the mempool, if the mempool is smaller than BURST_SIZE macro.pull/14990/head
parent
565c1831a0
commit
1d06103e08
Loading…
Reference in New Issue