Rahul Lakkireddy a27fb314cb cxgb4: fix regression with HASH tc prio value update
commit db43b30cd89c ("cxgb4: add ethtool n-tuple filter deletion")
has moved searching for next highest priority HASH filter rule to
cxgb4_flow_rule_destroy(), which searches the rhashtable before the
the rule is removed from it and hence always finds at least 1 entry.
Fix by removing the rule from rhashtable first before calling
cxgb4_flow_rule_destroy() and hence avoid fetching stale info.

Fixes: db43b30cd89c ("cxgb4: add ethtool n-tuple filter deletion")
Signed-off-by: Rahul Lakkireddy <rahul.lakkireddy@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-06-03 15:12:42 -07:00
..
2021-04-27 14:07:27 -07:00
2021-04-05 08:59:21 +02:00
2021-05-17 15:50:58 -07:00
2021-04-29 11:57:23 -07:00
2021-03-30 17:06:50 -07:00
2021-04-16 15:31:02 -07:00
2021-04-16 15:31:02 -07:00
2021-04-13 15:13:13 -07:00
2021-04-14 13:13:53 -07:00