]> git.ipfire.org Git - thirdparty/suricata.git/commit
flow: fix a debug assert
authorEric Leblond <el@stamus-networks.com>
Sun, 15 Aug 2021 10:17:23 +0000 (12:17 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 1 Sep 2021 06:33:52 +0000 (08:33 +0200)
commitcce7e4f4cb28485f2e43630b4baf7a77449af707
tree2da484e1470222460a82b4e42d2b3fcfbef89161
parent9c89bc80d07cd5dbc5fddf30222a0bd5076eb093
flow: fix a debug assert

As the FlowBypassedTimeout function is interacting with the capture
method it is possible that the return changes between the call that
did trigger the timeout and the actual state (ie if packets arrive
in between the two calls). So we should not use the call to
FlowBypassedTimeout in the assert.
src/flow-manager.c