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
(parent:
91f102e
)
tls: fix coverity warning
71/31971/2
author
Florin Coras
<fcoras@cisco.com>
Tue, 13 Apr 2021 22:56:41 +0000
(15:56 -0700)
committer
Damjan Marion
<dmarion@me.com>
Wed, 14 Apr 2021 10:26:48 +0000
(10:26 +0000)
Type: fix
Avoid complaint that we're potentially incrementing ii which could be
null.
Signed-off-by: Florin Coras <fcoras@cisco.com>
Change-Id: I8511c07b1c2f260cc0e526d9aefeb4a051d98edf
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
49987ba
..
89b4f77
100644
(file)
--- a/
src/plugins/tlsopenssl/tls_async.c
+++ b/
src/plugins/tlsopenssl/tls_async.c
@@
-417,7
+417,7
@@
openssl_async_node_enable_disable (u8 is_en)
foreach_vlib_main ()
{
- if (have_workers &&
ii != 0
)
+ if (have_workers &&
this_vlib_main->thread_index
)
{
vlib_node_set_state (this_vlib_main, tls_async_process_node.index,
state);