aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-05-27 15:17:24 +0000
committerNeale Ranns <nranns@cisco.com>2020-05-27 15:19:05 +0000
commitaf3022f0e88e07a62f1f6c3ec8e121e0d4de427f (patch)
treef1e75f4e8e486e002572d2e7c8205e6cf34b54ff
parent449f34e2f33103fe6386299a30cd573626391a94 (diff)
ipsec: Add/Del IPSec SA is not MP safe
Type: fix we can probably do better, but for now this is needed Signed-off-by: Neale Ranns <nranns@cisco.com> Change-Id: I07161f5ac07a70a0e6db6608ba31659d9bc2c9ed
-rw-r--r--src/vnet/ipsec/ipsec_api.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vnet/ipsec/ipsec_api.c b/src/vnet/ipsec/ipsec_api.c
index ad2665a250c..ef58f7a6010 100644
--- a/src/vnet/ipsec/ipsec_api.c
+++ b/src/vnet/ipsec/ipsec_api.c
@@ -1005,13 +1005,6 @@ ipsec_api_hookup (vlib_main_t * vm)
#undef _
/*
- * Adding and deleting SAs is MP safe since when they are added/delete
- * no traffic is using them
- */
- am->is_mp_safe[VL_API_IPSEC_SAD_ENTRY_ADD_DEL] = 1;
- am->is_mp_safe[VL_API_IPSEC_SAD_ENTRY_ADD_DEL_REPLY] = 1;
-
- /*
* Set up the (msg_name, crc, message-id) table
*/
setup_message_id_table (am);