[ovs-git] [openvswitch/ovs] 31b6d8: windows: netdev report error if query failed

GitHub noreply at github.com
Wed Feb 8 18:17:20 UTC 2017


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: 31b6d88fabc3558c2c07629dae3f7f954832a967
      https://github.com/openvswitch/ovs/commit/31b6d88fabc3558c2c07629dae3f7f954832a967
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-02-08 (Wed, 08 Feb 2017)

  Changed paths:
    M lib/netdev-windows.c

  Log Message:
  -----------
  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://github.com/openvswitch/ovs-issues/issues/125
Reported-by: Shashank Ram <rams at vmware.com>
Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-By: Shashank Ram <rams at vmware.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>




More information about the git mailing list