ip: Adding IP tables is no MP safe 34/26134/2
authorNeale Ranns <nranns@cisco.com>
Wed, 25 Mar 2020 07:21:09 +0000 (03:21 -0400)
committerDave Barach <openvpp@barachs.net>
Wed, 25 Mar 2020 11:55:50 +0000 (11:55 +0000)
Type: fix

it was marked MP safe in the CLI (which it shouldn't be) but
it it not marked MP safe on the API.

Change-Id: I4bdea498a510a8b406d13d62a899b6d03656f7e8
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet/ip/lookup.c

index 3b30fb9..a0cb28b 100644 (file)
@@ -640,7 +640,6 @@ VLIB_CLI_COMMAND (ip4_table_command, static) = {
   .path = "ip table",
   .short_help = "ip table [add|del] <table-id>",
   .function = vnet_ip4_table_cmd,
-  .is_mp_safe = 1,
 };
 /* *INDENT-ON* */
 
@@ -656,7 +655,6 @@ VLIB_CLI_COMMAND (ip6_table_command, static) = {
   .path = "ip6 table",
   .short_help = "ip6 table [add|del] <table-id>",
   .function = vnet_ip6_table_cmd,
-  .is_mp_safe = 1,
 };
 
 static clib_error_t *