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:
committed by
Ben Pfaff
parent
e8663e53e6
commit
a86bd14ec9
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user