diff options
author | Chris Mi <chrism@mellanox.com> | 2018-11-12 11:08:38 +0900 |
---|---|---|
committer | Simon Horman <simon.horman@netronome.com> | 2018-11-13 05:23:35 -0800 |
commit | 262a07956fabfd8399a1bcf1d17e1c965013cf28 (patch) | |
tree | 8be22e3930fd31ddfbc5126d21a1c0b79e79a833 /Documentation/internals | |
parent | 81b286609543a9feacf58371ba5edf5402281674 (diff) | |
download | openvswitch-262a07956fabfd8399a1bcf1d17e1c965013cf28.tar.gz |
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@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Simon Horman <simon.horman@netronome.com>
Diffstat (limited to 'Documentation/internals')
0 files changed, 0 insertions, 0 deletions