]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: fd: remove the unneeded running bit from fd_insert()
authorWilly Tarreau <w@1wt.eu>
Wed, 24 Mar 2021 09:42:16 +0000 (10:42 +0100)
committerWilly Tarreau <w@1wt.eu>
Wed, 24 Mar 2021 16:17:21 +0000 (17:17 +0100)
commit71bada5ca45cdf6d433e699ac0c7f7d78092ed02
tree6de9c08603ac9e92e9e0f20e1d30782712d83c1b
parent6e8e10b4159f4a31e6aaa535e38dc035f8711787
MINOR: fd: remove the unneeded running bit from fd_insert()

There's no point taking the running bit in fd_insert() since by
definition there will never be more than one thread inserting the FD,
and that fd_insert() may only be done after the fd was allocated by
the system, indicating the end of use by any other thread.

This will need to be backported to 2.2 to fix an issue.
include/haproxy/fd.h