acrn-kernel/net/mac802154
Joel Fernandes (Google) eb56a4cbc3 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: 57588c7117 ("mac802154: Handle passive scanning")
Acked-by: Stefan Schmidt <stefan@datenfreihafen.org>
Reviewed-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Joel Fernandes (Google) <joel@joelfernandes.org>
2023-04-05 13:48:04 +00:00
..
Kconfig
Makefile mac802154: Handle passive scanning 2023-01-03 19:48:43 +01:00
cfg.c mac802154: Handle basic beaconing 2023-01-28 13:55:10 +01:00
cfg.h
driver-ops.h mac802154: set filter at drv_start() 2022-10-12 12:56:58 +02:00
ieee802154_i.h mac802154: Handle basic beaconing 2023-01-28 13:55:10 +01:00
iface.c Merge tag 'ieee802154-for-net-next-2023-02-20' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next 2023-02-20 16:40:52 -08:00
llsec.c mac802154: Handle basic beaconing 2023-01-28 13:55:10 +01:00
llsec.h
mac_cmd.c
main.c mac802154: Handle basic beaconing 2023-01-28 13:55:10 +01:00
mib.c
rx.c Merge tag 'ieee802154-for-net-next-2023-02-20' of git://git.kernel.org/pub/scm/linux/kernel/git/sschmidt/wpan-next 2023-02-20 16:40:52 -08:00
scan.c mac802154: Rename kfree_rcu() to kvfree_rcu_mightsleep() 2023-04-05 13:48:04 +00:00
trace.c
trace.h mac802154: Trace the registration of new PANs 2022-11-29 15:34:32 +01:00
tx.c mac802154: Add MLME Tx locked helpers 2023-01-03 19:45:44 +01:00
util.c net: mac802154: Fixup function parameter name in docs 2022-10-26 09:40:34 +02:00