mirror of https://github.com/OISF/suricata
dpdk: auto threads assign one too many threads
Configuration option `threads: auto` in DPDK's interface node
overassigns available threads to the interface.
Commit 4dfd44d3 changed the signedness of the remaining threads counter,
which caused surpass of the counter initialization.
The if-clause is switched to first initialize and then use the counter.
Ticket: 7798
pull/13565/head
parent
c204ddb3e5
commit
239de05b9d
Loading…
Reference in New Issue