diff options
author | Florin Coras <fcoras@cisco.com> | 2018-08-12 23:50:53 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-08-24 19:05:25 +0000 |
commit | 1553197f9a1a3258b6954adeb9536bbe0191683d (patch) | |
tree | 91f26e2e23da3971741238194474d5e5ab0ae792 /src/vcl/vcl_bapi.c | |
parent | f8b8586b699bae9e786726f2697c3e642d904c61 (diff) |
session: add support for multiple app workers
Refactor session layer to support multiple workers per application.
Change-Id: Ie67354688d396449d14bbbb8c56050206e307cd8
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vcl/vcl_bapi.c')
-rw-r--r-- | src/vcl/vcl_bapi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_bapi.c b/src/vcl/vcl_bapi.c index 55c38032f92..e63696a0166 100644 --- a/src/vcl/vcl_bapi.c +++ b/src/vcl/vcl_bapi.c @@ -215,7 +215,7 @@ static void ctr->peer_mq = uword_to_pointer (mp->peer_evt_q_address, svm_msg_q_t *); VDBG (0, "Adding ct registration %u", vcl_ct_registration_index (ctr)); - if (mp->fd_flags & SESSION_FD_F_MQ_EVENTFD) + if (mp->n_fds && (mp->fd_flags & SESSION_FD_F_MQ_EVENTFD)) { svm_msg_q_set_consumer_eventfd (ctr->mq, fds[0]); svm_msg_q_set_producer_eventfd (ctr->peer_mq, fds[1]); |