diff options
author | Maor Gottlieb <maorg@mellanox.com> | 2016-04-22 00:33:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-04-24 14:51:38 -0400 |
commit | c3f9bf628bc7edda298897d952f5e761137229c9 (patch) | |
tree | 0e82ce86364cd38cfd80f19010e6b9b04294c907 /tools/perf/scripts/python/netdev-times.py | |
parent | 45c78e0219405af1b0f31b06952dfd9bcf7ad1f6 (diff) |
net/mlx5_core: Fix soft lockup in steering error flow
In the error flow of adding flow rule to auto-grouped flow
table, we call to tree_remove_node.
tree_remove_node locks the node's parent, however the node's parent
is already locked by mlx5_add_flow_rule and this causes a deadlock.
After this patch, if we failed to add the flow rule, we unlock the
flow table before calling to tree_remove_node.
fixes: f0d22d187473 ('net/mlx5_core: Introduce flow steering autogrouped
flow table')
Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Reported-by: Amir Vadai <amir@vadai.me>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions