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

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

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: edc2055a2bf73258d5731a8f8853397190348b04
  Author: Dmytro Linkin <dmitrolin at mellanox.com>
  Date:   2020-03-25 (Wed, 25 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

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