]> git.ipfire.org Git - thirdparty/suricata.git/commit
packetpool: move return stack to pool earlier
authorVictor Julien <victor@inliniac.net>
Sat, 25 May 2019 18:56:27 +0000 (20:56 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 29 May 2019 13:34:15 +0000 (15:34 +0200)
commit480f497d05e5c63b5fe1bd8e445406f32100046c
tree8a5fa29e841b3d653a98726ec337c332a0cbed2a
parentfa0008dbbed1b38c6e92f6737e3268121f8338b3
packetpool: move return stack to pool earlier

If waiting for N packets move the return stack to the main
stack every time we take the return stack lock.

Make sure we consider enough packets when setting the pending pool
flush logic. This should at least make sure to have the 9 packets
the flow manager requires per run.
src/tmqh-packetpool.c