]> git.ipfire.org Git - thirdparty/suricata.git/commit
packet pool: init pthread key before using it 1083/head
authorVictor Julien <victor@inliniac.net>
Fri, 1 Aug 2014 07:55:43 +0000 (09:55 +0200)
committerVictor Julien <victor@inliniac.net>
Fri, 1 Aug 2014 07:55:43 +0000 (09:55 +0200)
commite66c73abcd65786d686a02113f8709fe071a5d7f
tree41d162688eda780bfeb49553d81ac1849097d4d4
parenta441441636b36975a279aa99bbabe59b691c026b
packet pool: init pthread key before using it

In the packet pool code, it's critical to initialize the pthread key
before using it. Applies only to the code used if __thread isn't
supported.
src/tmqh-packetpool.c