dnsdist: Add a lock to MaxQPSIPRule #3658

Merged
merged 1 commit into from Apr 8, 2016

Projects

None yet

2 participants

@rgacogne
Member
rgacogne commented Apr 4, 2016

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

@rgacogne rgacogne 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.
f0acf60
@Habbie Habbie merged commit 6a2b4b5 into PowerDNS:master Apr 8, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@rgacogne rgacogne deleted the rgacogne:dnsdist-maxqpsiprule-crash branch Apr 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment