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:
fa7441f
)
wireguard: fix error type for crypto backend
43/36943/2
author
Benoît Ganne
<bganne@cisco.com>
Thu, 18 Aug 2022 13:03:45 +0000
(15:03 +0200)
committer
Matthew Smith
<mgsmith@netgate.com>
Thu, 18 Aug 2022 23:16:53 +0000
(23:16 +0000)
Crypto backend errors should not be using the same error as missing
keypair.
Type: fix
Change-Id: I78c2b3df3f08a354463b7824349b08627f2b023c
Signed-off-by: Benoît Ganne <bganne@cisco.com>
src/plugins/wireguard/wireguard_output_tun.c
patch
|
blob
|
history
diff --git
a/src/plugins/wireguard/wireguard_output_tun.c
b/src/plugins/wireguard/wireguard_output_tun.c
index
64aaba7
..
5449c49
100644
(file)
--- a/
src/plugins/wireguard/wireguard_output_tun.c
+++ b/
src/plugins/wireguard/wireguard_output_tun.c
@@
-161,7
+161,7
@@
wg_output_process_ops (vlib_main_t *vm, vlib_node_runtime_t *node,
if (op->status != VNET_CRYPTO_OP_STATUS_COMPLETED)
{
u32 bi = op->user_data;
- b[bi]->error = node->errors[WG_OUTPUT_ERROR_
KEYPAI
R];
+ b[bi]->error = node->errors[WG_OUTPUT_ERROR_
CRYPTO_ENGINE_ERRO
R];
nexts[bi] = drop_next;
n_fail--;
}