diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/ip/ip_api.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 @@ -3371,6 +3371,12 @@ ip_api_hookup (vlib_main_t * vm) #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 */ setup_message_id_table (am); |