API: Fix shared memory only action handlers. 85/18785/2
authorOle Troan <ot@cisco.com>
Wed, 10 Apr 2019 07:44:23 +0000 (09:44 +0200)
committerDave Wallace <dwallacelf@gmail.com>
Wed, 10 Apr 2019 13:06:45 +0000 (13:06 +0000)
Some API action handlers called vl_msg_ai_send_shmem()
directly. That breaks Unix domain socket API transport.

A couple (bond / vhost) also tried to send a sw_interface_event
directly, but did not send the message to all that had
registred interest. That scheme never worked correctly.
Refactored and improved the interface event code.

Change-Id: Idb90edfd8703c6ae593b36b4eeb4d3ed7da5c808
Signed-off-by: Ole Troan <ot@cisco.com>

No differences found