diff options
author | Roi Dayan <roid@mellanox.com> | 2018-12-19 18:07:56 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-12-19 16:36:55 -0800 |
commit | 599d2570b2da7c2f5419332b42b7999d79c85959 (patch) | |
tree | d2532ae49ed11038ed6cba17df6548c4b12a44a2 /net/sched/act_api.c | |
parent | c6ec179a0082e2e76e3a72050c2b99d3d0f3da3f (diff) |
net/sched: cls_flower: Remove old entries from rhashtable
When replacing a rule we add the new rule to the rhashtable
but only remove the old if not in skip_sw.
This commit fix this and remove the old rule anyway.
Fixes: 35cc3cefc4de ("net/sched: cls_flower: Reject duplicated rules also under skip_sw")
Signed-off-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_api.c')
0 files changed, 0 insertions, 0 deletions