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>
This commit is contained in:
Sven Eckelmann 2026-06-02 17:46:10 +02:00
commit ed497f64a6
No known key found for this signature in database
GPG key ID: 4D0F772BD314F5CB