X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fip%2Fip_api.c;h=2a342d085992044374532664092f77db74bd994d;hb=6a231a16b2f394f9bc108913e91b4ae1f9bff98c;hp=4355d11e792ac0661c115ca2e37239dcfb460fbb;hpb=75b9f45a15bfae423b114dfcaa6eb114c91527eb;p=vpp.git diff --git a/src/vnet/ip/ip_api.c b/src/vnet/ip/ip_api.c index 4355d11e792..2a342d08599 100644 --- a/src/vnet/ip/ip_api.c +++ b/src/vnet/ip/ip_api.c @@ -3370,6 +3370,12 @@ ip_api_hookup (vlib_main_t * vm) foreach_ip_api_msg; #undef _ + /* + * Mark the route add/del API as MP safe + */ + am->is_mp_safe[VL_API_IP_ADD_DEL_ROUTE] = 1; + am->is_mp_safe[VL_API_IP_ADD_DEL_ROUTE_REPLY] = 1; + /* * Set up the (msg_name, crc, message-id) table */