]> git.ipfire.org Git - thirdparty/haproxy.git/commit
BUG/MINOR: sink: fix a race condition between the writer and the reader
authorWilly Tarreau <w@1wt.eu>
Thu, 4 Aug 2022 15:18:54 +0000 (17:18 +0200)
committerWilly Tarreau <w@1wt.eu>
Thu, 4 Aug 2022 15:21:16 +0000 (17:21 +0200)
commit53bfab080c124181e555f1c8b1f150d673847738
treebed186a0f695c2f71dee0dc548c2d65a712a74a0
parent96417f392d4fdb4dca59db244a349ca0796c39b1
BUG/MINOR: sink: fix a race condition between the writer and the reader

This is the same issue as just fixed in b8e0fb97f ("BUG/MINOR: ring/cli:
fix a race condition between the writer and the reader") but this time
for sinks. They're also sucking the ring and present the same race at
high write loads.

This must be backported to 2.2 as well. See comments in the aforementioned
commit for backport hints if needed.
src/sink.c