[ovs-dev] [branch-2.8/2.9 backport] netdev-tc-offloads: Delete ufid tc mapping in the right place

Simon Horman simon.horman at netronome.com
Fri Nov 16 15:40:12 UTC 2018


On Tue, Nov 13, 2018 at 08:36:04PM -0500, Chris Mi wrote:
> 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>

Thanks Chris,

applied to branch-2.8 and branch-2.9.


More information about the dev mailing list