diff options
author | Flavio Leitner <fbl@redhat.com> | 2018-03-29 23:05:26 -0300 |
---|---|---|
committer | Ben Pfaff <blp@ovn.org> | 2018-03-31 12:48:31 -0700 |
commit | a86bd14ec97270fde85a06ce702cdd9ef0d038ca (patch) | |
tree | cd288a24b4ca9915fba319125ef7edcf664d5976 /lib/netlink-socket.h | |
parent | e8663e53e6e27506c63d69aa5124018c24514c86 (diff) | |
download | openvswitch-a86bd14ec97270fde85a06ce702cdd9ef0d038ca.tar.gz |
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>
Diffstat (limited to 'lib/netlink-socket.h')
-rw-r--r-- | lib/netlink-socket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/netlink-socket.h b/lib/netlink-socket.h index d3cc64288..98f6554fa 100644 --- a/lib/netlink-socket.h +++ b/lib/netlink-socket.h @@ -221,7 +221,7 @@ int nl_sock_unsubscribe_packets(struct nl_sock *sock); int nl_sock_send(struct nl_sock *, const struct ofpbuf *, bool wait); int nl_sock_send_seq(struct nl_sock *, const struct ofpbuf *, uint32_t nlmsg_seq, bool wait); -int nl_sock_recv(struct nl_sock *, struct ofpbuf *, bool wait); +int nl_sock_recv(struct nl_sock *, struct ofpbuf *, int *nsid, bool wait); int nl_sock_drain(struct nl_sock *); |