[ovs-git] [openvswitch/ovs] 405703: datapath-windows: Do not delete internal port on O...

Alin Gabriel Serdean noreply at github.com
Mon Dec 9 11:41:39 UTC 2019

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 40570384bc0670482d38f55717175b55b7f8a533
  Author: Jinjun Gao <jinjung at vmware.com>
  Date:   2019-12-09 (Mon, 09 Dec 2019)

  Changed paths:
    M datapath-windows/ovsext/Vport.c

  Log Message:
  datapath-windows: Do not delete internal port on OID_SWITCH_NIC_DISCONNECT

According to the microsoft doc:
Below OID request sequence is validation:
                  ^                           |
                  |                           V

In above sequence, the windows extensible switch interface assumes the
OID_SWITCH_PORT_CREATE has issued and the port has been created
successfully. If delete the internal port in HvDisconnectNic(),
HvCreateNic() will fail when received OID_SWITCH_NIC_CREATE late because
there is no corresponding port.

Signed-off-by: Jinjun Gao <jinjung at vmware.com>
Signed-off-by: Alin Gabriel Serdean <aserdean at ovn.org>

More information about the git mailing list