Commit 315daa81 authored by Paul Bolle's avatar Paul Bolle Committed by Willy Tarreau
Browse files

windfarm: decrement client count when unregistering



commit fe2b5921 upstream.

wf_unregister_client() increments the client count when a client
unregisters. That is obviously incorrect. Decrement that client count
instead.

Fixes: 75722d39 ("[PATCH] ppc64: Thermal control for SMU based machines")

Signed-off-by: default avatarPaul Bolle <pebolle@tiscali.nl>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Signed-off-by: default avatarBen Hutchings <ben@decadent.org.uk>
(cherry picked from commit 48c46d4a)
Signed-off-by: default avatarWilly Tarreau <w@1wt.eu>
parent 9bc0d009
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment