IP Route add/del API is MP safe
@@ -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
*/
