MEDIUM: connections: Use _HA_ATOMIC_*

Use _HA_ATOMIC_ instead of HA_ATOMIC_ because we know we don't need barriers
This commit is contained in:
Olivier Houchard 2019-03-13 18:52:21 +01:00 committed by Olivier Houchard
parent 9f8d821a55
commit 237985b228
1 changed files with 1 additions and 1 deletions

View File

@ -693,7 +693,7 @@ static inline void conn_free(struct connection *conn)
*/
if (conn->idle_time > 0) {
struct server *srv = __objt_server(conn->target);
HA_ATOMIC_SUB(&srv->curr_idle_conns, 1);
_HA_ATOMIC_SUB(&srv->curr_idle_conns, 1);
srv->curr_idle_thr[tid]--;
}