CLEANUP: backend: fix incorrect comments on locking conditions for lb functions
authorWilly Tarreau <w@1wt.eu>
Tue, 1 Jun 2021 14:58:31 +0000 (16:58 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 4 Jun 2021 13:40:50 +0000 (15:40 +0200)
commit63b3ae7ca3dd4f916e444db784e4200b4954fb02
tree01d1faed72002861183ac86e168601d77f042240
parent3b9cb600596a4436c10f1b01a46d1b102fd4399a
CLEANUP: backend: fix incorrect comments on locking conditions for lb functions

The leastconn and roundrobin functions mention that the server's lock
must be held while this is not true at all and it is not used either.
The "first" algo doesn't mention anything about the need for locking,
so let's mention that it uses the lbprm lock.
src/lb_chash.c
src/lb_fas.c
src/lb_fwlc.c
src/lb_fwrr.c