commit | 9063a660cc743d3cff76e23c9632522518c49227 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Apr 06 18:09:06 2021 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 07 18:10:36 2021 +0200 |
tree | af44e71e7d08637a986cdde0ac5c20edaaa95d69 | |
parent | 5362bc90442a729e0652d514a95e104508ecb811 [diff] [blame] |
MINOR: fd: move .exported into fdtab[].state No need to keep this flag apart any more, let's merge it into the global state.
diff --git a/src/sock_unix.c b/src/sock_unix.c index 45631ac..9913f4f 100644 --- a/src/sock_unix.c +++ b/src/sock_unix.c
@@ -289,7 +289,7 @@ /* for now, all regularly bound TCP listeners are exportable */ if (!(rx->flags & RX_F_INHERITED)) - fdtab[fd].exported = 1; + HA_ATOMIC_OR(&fdtab[fd].state, FD_EXPORTED); return err;