Files
linux/drivers
Maor Gottlieb e68a11a432 net/mlx5: Fix potential sleeping in atomic context
commit ee27e330a9 upstream.

Fixes the below flow of sleeping in atomic context by releasing
the RCU lock before calling to free_match_list.

build_match_list() <- disables preempt
-> free_match_list()
   -> tree_put_node()
      -> down_write_ref_node() <- take write lock

Fixes: 693c6883bb ("net/mlx5: Add hash table for flow groups in flow table")
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Maor Gottlieb <maorg@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2021-09-22 11:48:11 +02:00
..
2021-07-20 16:15:55 +02:00
2021-09-22 11:48:10 +02:00
2021-09-22 11:47:54 +02:00
2021-01-17 14:04:22 +01:00
2020-12-30 11:26:04 +01:00
2021-08-26 08:36:46 -04:00
2021-09-22 11:47:51 +02:00