[ovs-git] [openvswitch/ovs] 7cc77b: ofproto-dpif: Only delete tunnel backer ports alon...

Ben Pfaff noreply at github.com
Sat Feb 29 19:02:55 UTC 2020


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 7cc77b301f80a63cd4893198d82be0eef303f731
      https://github.com/openvswitch/ovs/commit/7cc77b301f80a63cd4893198d82be0eef303f731
  Author: Ben Pfaff <blp at ovn.org>
  Date:   2020-02-29 (Sat, 29 Feb 2020)

  Changed paths:
    M ofproto/ofproto-dpif.c

  Log Message:
  -----------
  ofproto-dpif: Only delete tunnel backer ports along with the dpif.

The admin can choose whether or not to delete flows from datapaths when
they stop ovs-vswitchd.  The goal of not deleting flows it to allow
existing traffic to continue being forwarded until ovs-vswitchd is
restarted.  Until now, regardless of this choice, ovs-vswitchd has
always deleted tunnel ports from the datapath.  When flows are not
deleted, this nevertheless prevents tunnel traffic from being forwarded.

With this patch, ovs-vswitchd no longer deletes tunnel ports in the
case where it does not delete flows, allowing tunnel traffic to continue
being forwarded.

Reported-by: Antonin Bas <abas at vmware.com>
Tested-by: Antonin Bas <abas at vmware.com>
Tested-by: txfh2007 <txfh2007 at aliyun.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list