diff options
author | Florin Coras <fcoras@cisco.com> | 2018-07-12 14:48:06 -0700 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-07-17 09:02:17 +0000 |
commit | 52207f1b7b60cb0784d5241f0a4d40eef531c67e (patch) | |
tree | b83a1f01bd08872a2ae27e17f2fd0ddeb3f571b6 /src/vnet/session-apps | |
parent | 3c2fed5145d9e40a9ecd178c2866c813eddc6203 (diff) |
session: send ctrl msg over mq
Change-Id: I242056bc46ddb671064665916b2687860292dcb2
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session-apps')
-rw-r--r-- | src/vnet/session-apps/echo_client.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vnet/session-apps/echo_client.c b/src/vnet/session-apps/echo_client.c index 3d1af676186..e67de959a28 100644 --- a/src/vnet/session-apps/echo_client.c +++ b/src/vnet/session-apps/echo_client.c @@ -359,7 +359,7 @@ echo_clients_session_connected_callback (u32 app_index, u32 api_context, echo_client_main_t *ecm = &echo_client_main; eclient_session_t *session; u32 session_index; - u8 thread_index = s->thread_index; + u8 thread_index; if (is_fail) { @@ -368,6 +368,7 @@ echo_clients_session_connected_callback (u32 app_index, u32 api_context, return 0; } + thread_index = s->thread_index; ASSERT (thread_index == vlib_get_thread_index () || session_transport_service_type (s) == TRANSPORT_SERVICE_CL); |