]> git.ipfire.org Git - thirdparty/linux.git/commit
batman-adv: use GFP_KERNEL allocations for the wifi detection cache
authorSven Eckelmann <sven@narfation.org>
Tue, 2 Jun 2026 15:46:10 +0000 (17:46 +0200)
committerSven Eckelmann <sven@narfation.org>
Fri, 5 Jun 2026 07:12:06 +0000 (09:12 +0200)
commited497f64a617b0ecdc751c57f296bb7dc4b435c4
tree486711dd2d34aba55dd67c7627b71596ca4ba8d8
parentb2e44a67ef4fb9593ea60c8c27f637bdeab40f09
batman-adv: use GFP_KERNEL allocations for the wifi detection cache

The batadv_wifi_net_device_insert() is called with ASSERT_RTNL() held, but
not inside a spinlock or another context which prevents "might_sleep"
functions. To relax the requirements for the allocator, use GFP_KERNEL.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
net/batman-adv/hard-interface.c