]> git.ipfire.org Git - thirdparty/suricata.git/commit
defrag: don't return after a cleaning. 69/head
authorEric Leblond <eric@regit.org>
Thu, 13 Sep 2012 09:57:07 +0000 (11:57 +0200)
committerEric Leblond <eric@regit.org>
Thu, 13 Sep 2012 10:43:12 +0000 (12:43 +0200)
commit937ba71491f147d46517ba7701d85ae43558287e
tree56beb4abf27650078c5e7753804fe2bbff1043be
parentb6834cb6b233343c41ddd9e86a2a48816c3b5bdc
defrag: don't return after a cleaning.

This patch changes the policy of the timeout function by cleaning
every timeouted trackers.
Previous code was only freeing the first tracker and this was resulting
in calling the timeout function continuously. One of my previous patch
has modified the function to avoid to run it more than twice a second.
But as it was not taken into account the fact only the first tracker was
freed, the result was that a lot of tracker could not be allocated.
src/defrag.c