aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorMaor Gottlieb <[email protected]>2016-04-22 00:33:00 +0300
committerDavid S. Miller <[email protected]>2016-04-24 14:51:38 -0400
commitc3f9bf628bc7edda298897d952f5e761137229c9 (patch)
tree0e82ce86364cd38cfd80f19010e6b9b04294c907 /net/lapb/lapb_subr.c
parent45c78e0219405af1b0f31b06952dfd9bcf7ad1f6 (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 <[email protected]> Reported-by: Amir Vadai <[email protected]> Signed-off-by: Saeed Mahameed <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions