Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
ipsec: make pre-shared keys harder to misuse
[vpp.git]
/
src
/
vnet
/
ipsec
/
ah_encrypt.c
diff --git
a/src/vnet/ipsec/ah_encrypt.c
b/src/vnet/ipsec/ah_encrypt.c
index
e2d17d4
..
03e0488
100644
(file)
--- a/
src/vnet/ipsec/ah_encrypt.c
+++ b/
src/vnet/ipsec/ah_encrypt.c
@@
-168,7
+168,7
@@
ah_encrypt_inline (vlib_main_t * vm,
pd->sa_index = current_sa_index;
next[0] = AH_ENCRYPT_NEXT_DROP;
pd->sa_index = current_sa_index;
next[0] = AH_ENCRYPT_NEXT_DROP;
- if (PREDICT_FALSE (~0 == sa0->thread_index))
+ if (PREDICT_FALSE (
(u16)
~0 == sa0->thread_index))
{
/* this is the first packet to use this SA, claim the SA
* for this thread. this could happen simultaneously on
{
/* this is the first packet to use this SA, claim the SA
* for this thread. this could happen simultaneously on