2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 14:25:26 +00:00

netlink: provide network namespace id from a msg.

The netlink notification's ancillary data contains the network
namespace id (netnsid) needed to identify the device correctly.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Ben Pfaff <blp@ovn.org>
This commit is contained in:
Flavio Leitner
2018-03-29 23:05:26 -03:00
committed by Ben Pfaff
parent e8663e53e6
commit a86bd14ec9
9 changed files with 196 additions and 14 deletions

View File

@@ -185,7 +185,7 @@ nln_run(struct nln *nln)
int error;
ofpbuf_use_stub(&buf, buf_stub, sizeof buf_stub);
error = nl_sock_recv(nln->notify_sock, &buf, false);
error = nl_sock_recv(nln->notify_sock, &buf, NULL, false);
if (!error) {
int group = nln->parse(&buf, nln->change);