Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net: allow sleeping when modifying store_rps_map
Commit 10e4ea7 ("net: Fix race condition in store_rps_map") has moved the manipulation of the rps_needed jump label under a spinlock. Since changing the state of a jump label may sleep this is incorrect and causes warnings during runtime. Make rps_map_lock a mutex to allow sleeping under it. Fixes: 10e4ea7 ("net: Fix race condition in store_rps_map") Signed-off-by: Sasha Levin <[email protected]> Acked-by: Tom Herbert <[email protected]> Signed-off-by: David S. Miller <[email protected]>
- Loading branch information