]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: dns: Don't lock the server lock in snr_check_ip_callback().
authorOlivier Houchard <ohouchard@haproxy.com>
Mon, 6 Nov 2017 16:30:28 +0000 (17:30 +0100)
committerWilly Tarreau <w@1wt.eu>
Mon, 6 Nov 2017 17:34:42 +0000 (18:34 +0100)
commit283810773afa55dd50e6b362e2b93f8f7a88edc4
tree3b0f1944c69032009fab1d814d0210f57f462da3
parent55dcdf4c398b805770914ecfbe095c3b1b309ca2
BUG/MINOR: dns: Don't lock the server lock in snr_check_ip_callback().

snr_check_ip_callback() may be called with the server lock, so don't attempt
to lock it again, instead, make sure the callers always have the lock before
calling it.
src/dns.c
src/server.c