[ovs-git] [openvswitch/ovs] 47e73f: netdev-offload-tc: Flush rules on all chains befor...

Simon Horman noreply at github.com
Wed Feb 24 10:41:29 UTC 2021


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 47e73f7f00589d70541ab87ecc7b45f070d2e6be
      https://github.com/openvswitch/ovs/commit/47e73f7f00589d70541ab87ecc7b45f070d2e6be
  Author: Jianbo Liu <jianbol at nvidia.com>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

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

  Log Message:
  -----------
  netdev-offload-tc: Flush rules on all chains before attach ingress block

Previously, only chain 0 is deleted before attach the ingress block.
If there are rules on the chain other than 0, these rules are not flushed.
In this case, the recreation of qdisc also fails. To fix this issue, flush
rules from all chains.

Signed-off-by: Jianbo Liu <jianbol at nvidia.com>
Reviewed-by: Roi Dayan <roid at nvidia.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>




More information about the git mailing list