Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(from parent 1:
96acc9b
)
tls: need to use thread id to fetch the event
70/25270/1
author
Yu Ping
<ping.yu@intel.com>
Wed, 19 Feb 2020 17:40:53 +0000
(
01:40
+0800)
committer
Yu Ping
<ping.yu@intel.com>
Wed, 19 Feb 2020 17:40:53 +0000
(
01:40
+0800)
Type: fix
Change-Id: I429351f04a2865be4a289a3021277f9b2ced902b
Signed-off-by: Yu Ping <ping.yu@intel.com>
src/plugins/tlsopenssl/tls_async.c
patch
|
blob
|
history
diff --git
a/src/plugins/tlsopenssl/tls_async.c
b/src/plugins/tlsopenssl/tls_async.c
index
8660466
..
fdfcf3a
100644
(file)
--- a/
src/plugins/tlsopenssl/tls_async.c
+++ b/
src/plugins/tlsopenssl/tls_async.c
@@
-251,8
+251,7
@@
tls_async_openssl_callback (SSL * s, void *cb_arg)
int *evt_run_head = &om->queue[thread_index].evt_run_head;
TLS_DBG (2, "Set event %d to run\n", event_index);
-
- event = openssl_evt_get (event_index);
+ event = openssl_evt_get_w_thread (event_index, thread_index);
/* Happend when a recursive case, especially in SW simulation */
if (PREDICT_FALSE (event->status == SSL_ASYNC_READY))