[ovs-git] [openvswitch/ovs] dc389f: netdev-offload-tc: Flush rules on ingress block wh...

CosmicSpaceGoose noreply at github.com
Wed Mar 25 17:46:31 UTC 2020


  Branch: refs/heads/branch-2.13
  Home:   https://github.com/openvswitch/ovs
  Commit: dc389fd3193c143cc857933df597236f6c3688b9
      https://github.com/openvswitch/ovs/commit/dc389fd3193c143cc857933df597236f6c3688b9
  Author: Dmytro Linkin <dmitrolin at mellanox.com>
  Date:   2020-03-24 (Tue, 24 Mar 2020)

  Changed paths:
    M lib/netdev-offload-tc.c

  Log Message:
  -----------
  netdev-offload-tc: Flush rules on ingress block when init tc flow api

OVS can fail to attach ingress block on iface when init tc flow api,
if block already exist with rules on it and is shared with other iface.
Fix by flush all existing rules on the ingress block prior to deleting
it.

Fixes: 093c9458fb02 ("tc: allow offloading of block ids")
Signed-off-by: Dmytro Linkin <dmitrolin at mellanox.com>
Acked-by: Raed Salem <raeds at mellanox.com>
Acked-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>




More information about the git mailing list