]> git.ipfire.org Git - thirdparty/suricata.git/commit
rule-reload: fix possible hangup with SIGUSR2
authorAndreas Herz <andi@geekosphere.org>
Wed, 13 Dec 2017 23:59:30 +0000 (00:59 +0100)
committerVictor Julien <victor@inliniac.net>
Thu, 14 Dec 2017 18:03:07 +0000 (19:03 +0100)
commit77e548ed1c3cfaa384b498e054e52d054e0e2b40
treea0f98dde36037d4f0c2e31ead5fd7d826f30ca76
parentbe9ec3958ebf4eb2dc73a41f8668c57b1623b577
rule-reload: fix possible hangup with SIGUSR2

In some cases the rule reload could hang. The pending USR2 signals will
be recognized even with the <2 check. Also the SCLogWarning shouldn't be
used in the handler (see Warning about SCLog* API above in the code).
src/suricata.c