diff options
author | Florin Coras <fcoras@cisco.com> | 2018-12-17 23:08:14 -0800 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2018-12-19 08:33:35 +0000 |
commit | e2ea193171f4701aa575379da0e1bac16a85aa33 (patch) | |
tree | 29aa3ac276e8e4527f3147b029acb226dd40ba72 /src/vnet/session/session_api.c | |
parent | 6fbef2322870bbe1768537caecc3ca06bfd70dd7 (diff) |
session: handle close before app accept reply
Change-Id: Ic35bbf55851087d70bfacc1eab4dea4285f98c86
Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session/session_api.c')
-rwxr-xr-x | src/vnet/session/session_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_api.c b/src/vnet/session/session_api.c index 40fc41629d4..2d20d5f697b 100755 --- a/src/vnet/session/session_api.c +++ b/src/vnet/session/session_api.c @@ -408,6 +408,7 @@ mq_try_lock_and_alloc_msg (svm_msg_q_t * app_mq, svm_msg_q_msg_t * msg) if (!rv) return 0; try++; + usleep (1); } clib_warning ("failed to alloc msg"); return -1; |