]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Add a lock to MaxQPSIPRule 3658/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 4 Apr 2016 10:02:53 +0000 (12:02 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Mon, 4 Apr 2016 10:02:53 +0000 (12:02 +0200)
commitf0acf6085cdccc5499b468d56ce47d01721b13fd
treedeeeff9b43678e5110b3c42971e5d74609c8465a
parent13506cd4ff94a825929135d2d48d6064b6e68a62
dnsdist: Add a lock to MaxQPSIPRule

Otherwise we might crash when one thread inserts into the internal
map while another one is accessing it.
Reported by @rygl.
pdns/dnsrulactions.hh