diff options
author | Florin Coras <fcoras@cisco.com> | 2018-11-29 17:02:29 -0800 |
---|---|---|
committer | Ole Trøan <otroan@employees.org> | 2018-11-30 09:33:30 +0000 |
commit | d85de68ec3f72888099172fffd45a90a43018155 (patch) | |
tree | bc09880ec51bdccfbe4abd47b258598df9a4854e /src/vnet/session/application_interface.c | |
parent | e4f849c137101871b1caa0d959c7ea794e7d77f7 (diff) |
vcl: wait for segments with segment handle
Instead of waiting for notification from binary api.
Change-Id: I5ecab857d6bcdbed62d6bb06709570c4cf6b19ea
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/application_interface.c')
-rw-r--r-- | src/vnet/session/application_interface.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/application_interface.c b/src/vnet/session/application_interface.c index ace9ed2f868..d254b9bb55a 100644 --- a/src/vnet/session/application_interface.c +++ b/src/vnet/session/application_interface.c @@ -558,6 +558,7 @@ vnet_application_attach (vnet_app_attach_args_t * a) ASSERT (vec_len (fs->ssvm.name) <= 128); a->segment = &fs->ssvm; + a->segment_handle = segment_manager_segment_handle (sm, fs); segment_manager_segment_reader_unlock (sm); vec_free (app_name); |