[ovs-git] [openvswitch/ovs] c115ae: netdev-tc-offloads: Delete ufid tc mapping in the ...

GitHub noreply at github.com
Fri Nov 16 15:38:58 UTC 2018


  Branch: refs/heads/branch-2.8
  Home:   https://github.com/openvswitch/ovs
  Commit: c115aec887e07f20f391ba3a2caeead7143bf807
      https://github.com/openvswitch/ovs/commit/c115aec887e07f20f391ba3a2caeead7143bf807
  Author: Chris Mi <chrism at mellanox.com>
  Date:   2018-11-16 (Fri, 16 Nov 2018)

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

  Log Message:
  -----------
  netdev-tc-offloads: Delete ufid tc mapping in the right place

Currently, the ufid tc mapping is deleted in add_ufid_tc_mapping().
But if tc_replace_flower() failed, the old ufid tc mapping will not
be deleted. If another thread adds the same tc mapping successfully,
then there will be multiple mappings for the same ifindex, handle
and prio.

Fixes: 9116730db ("netdev-tc-offloads: Add ufid to tc/netdev map")
Signed-off-by: Chris Mi <chrism at mellanox.com>
Reviewed-by: Roi Dayan <roid at mellanox.com>
Signed-off-by: Simon Horman <simon.horman at netronome.com>



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the git mailing list