Acked-by: Sorin Vinturis <[email protected]> -----Original Message----- From: dev [mailto:[email protected]] On Behalf Of Nithin Raju Sent: Tuesday, October 7, 2014 4:53 AM To: [email protected] Subject: [ovs-dev] [PATCH] lib/netlink-socket.c: always pass the output buffer in a transaction
We need to pass down the output buffer so that the kernel can return transaction status - error or otherwise. Signed-off-by: Nithin Raju <[email protected]> --- lib/netlink-socket.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/lib/netlink-socket.c b/lib/netlink-socket.c index 1aa76ae..a51e6d1 100644 --- a/lib/netlink-socket.c +++ b/lib/netlink-socket.c @@ -767,8 +767,7 @@ nl_sock_transact_multiple__(struct nl_sock *sock, if (!DeviceIoControl(sock->handle, OVS_IOCTL_TRANSACT, ofpbuf_data(txn->request), ofpbuf_size(txn->request), - txn->reply ? tail : 0, - txn->reply ? sizeof tail : 0, + tail, sizeof tail, &reply_len, NULL)) { /* XXX: Map to a more appropriate error. */ error = EINVAL; -- 1.7.4.1 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
