]> git.ipfire.org Git - thirdparty/suricata.git/commit
Fix engine getting stuck because of optimizations 1057/head
authorVictor Julien <victor@inliniac.net>
Fri, 25 Jul 2014 15:41:34 +0000 (17:41 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 25 Jul 2014 15:41:34 +0000 (17:41 +0200)
commitc53b4280795088a50e26c216ea023d13822b33f5
treec8061a63ee3124062f038df5e0b3e825af78c7e4
parentc4a8e2cd140cf08f1ffbe3a66f2a8b527e1a7c98
Fix engine getting stuck because of optimizations

At -O1+ in both Gcc and Clang, PacketPoolWait would optimize the
wait loop in the wrong way. Adding a compiler barrier to prevent
this optimization issue.
src/tmqh-packetpool.c