Skip to content
Commit eb56a4cb authored by Joel Fernandes (Google)'s avatar Joel Fernandes (Google)
Browse files

mac802154: Rename kfree_rcu() to kvfree_rcu_mightsleep()



The k[v]free_rcu() macro's single-argument form is deprecated.
Therefore switch to the new k[v]free_rcu_mightsleep() variant. The goal
is to avoid accidental use of the single-argument forms, which can
introduce functionality bugs in atomic contexts and latency bugs in
non-atomic contexts.

The callers are holding a mutex so the context allows blocking. Hence
using the API with a single argument will be fine, but use its new name.

There is no functionality change with this patch.

Fixes: 57588c71 ("mac802154: Handle passive scanning")
Acked-by: default avatarStefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: default avatarPaul E. McKenney <paulmck@kernel.org>
Signed-off-by: default avatarJoel Fernandes (Google) <joel@joelfernandes.org>
parent 936c7e19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment