]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: fd/thread: get rid of thread_mask()
authorWilly Tarreau <w@1wt.eu>
Wed, 6 Jul 2022 09:22:42 +0000 (11:22 +0200)
committerWilly Tarreau <w@1wt.eu>
Fri, 15 Jul 2022 17:43:10 +0000 (19:43 +0200)
commit82e378aa8ab34e3d9aedb9971ae704ca17c28e16
treeba77daf229b11ebdb763db91e4fe68b1b5a52036
parent6bdf9452c09030d4944e6d045b6f60f55c38e97a
MINOR: fd/thread: get rid of thread_mask()

Since commit d2494e048 ("BUG/MEDIUM: peers/config: properly set the
thread mask") there must not remain any single case of a receiver that
is bound nowhere, so there's no need anymore for thread_mask().

We're adding a test in fd_insert() to make sure this doesn't happen by
accident though, but the function was removed and its rare uses were
replaced with the original value of the bind_thread msak.
include/haproxy/fd.h
include/haproxy/thread.h
src/listener.c
src/proto_sockpair.c
src/sock_inet.c
src/sock_unix.c