]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: fd: Make the lockless fd list work with multiple lists.
authorOlivier Houchard <ohouchard@haproxy.com>
Wed, 25 Apr 2018 13:10:30 +0000 (15:10 +0200)
committerWilly Tarreau <w@1wt.eu>
Sun, 6 May 2018 04:25:49 +0000 (06:25 +0200)
commit6a2cf8752c160d263aa57ef97e708d633ff865e6
tree8e41675c207c569dacacb5b02229793600da584d
parent9b36cb4a414c22e13d344afbbe70684e9f2f1d49
MINOR: fd: Make the lockless fd list work with multiple lists.

Modify fd_add_to_fd_list() and fd_rm_from_fd_list() so that they take an
offset in the fdtab to the list entry, instead of hardcoding the fd cache,
so we can use them with other lists.
include/proto/fd.h
src/fd.c