Acked-By: Shashank Ram <[email protected]> ________________________________ From: [email protected] <[email protected]> on behalf of Alin Serdean <[email protected]> Sent: Tuesday, February 7, 2017 10:41:24 PM To: [email protected] Subject: [ovs-dev] [PATCH] windows: netdev report error if query failed
The netdev Windows construct uses query_netdev to see if a port exists in the datapath, in the case an error occurred in the reply message we returned 0, meaning netdev_open was successful. This patch fixes fixes that problem. Reported-at: https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_openvswitch_ovs-2Dissues_issues_125&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=6OuVHk-mnufSWzkKa74UkQ&m=Cfq2dVpblyjBeHmysptpwpwwGDQJJsMQsY9ZLcKmMM0&s=7TnLrvAGTBkTsb7xjz-oHZhwMsoTkhGAiVLjmH5s3Zk&e= Reported-by: Shashank Ram <[email protected]> Signed-off-by: Alin Gabriel Serdean <[email protected]> --- intended for: branch-2.5, branch-2.6, branch-2.7, master --- lib/netdev-windows.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev-windows.c b/lib/netdev-windows.c index c2fbe42..b22bd09 100644 --- a/lib/netdev-windows.c +++ b/lib/netdev-windows.c @@ -295,7 +295,7 @@ query_netdev(const char *devname, } } - return 0; + return error; } static void -- 2.10.2.windows.1 _______________________________________________ dev mailing list [email protected] https://urldefense.proofpoint.com/v2/url?u=https-3A__mail.openvswitch.org_mailman_listinfo_ovs-2Ddev&d=DwICAg&c=uilaK90D4TOVoH58JNXRgQ&r=6OuVHk-mnufSWzkKa74UkQ&m=Cfq2dVpblyjBeHmysptpwpwwGDQJJsMQsY9ZLcKmMM0&s=TaPnBKwCyQulIfIaR7_2ZEDcEVHQ86KQGS-M1hQbuDA&e= _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
