]> 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>
Tue, 30 Jan 2018 09:32:16 +0000 (10:32 +0100)
commit61403bfcc972befcf18f5b1e2816e11db8fcc214
tree6a1fec4be0b063ded17012fe874db3a28fe9af2d
parenta966be1e113235ef44380622240baca7a8471370
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