summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2020-05-27 15:17:24 +0000
committerDamjan Marion <dmarion@me.com>2020-05-27 17:33:19 +0000
commit5500d1d6502554229d0542b89b857777b3c1851e (patch)
treea1e1a51cf96640099cc7d5766a7d3631d0e0ea8d
parent4a302ee7c75f3d4fd1a73a9d1f6c34b3bde8d620 (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);