]> www.infradead.org Git - users/dwmw2/linux.git/commit
mac80211: Use GFP_KERNEL instead of GFP_ATOMIC when possible
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 20 Feb 2022 08:23:15 +0000 (09:23 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 11 Mar 2022 10:42:49 +0000 (11:42 +0100)
commit60df54f8e6bb2c375a9d21f16c9d3983206709e7
treeff488eeee4f52a54ee84a241f4505a6457555ea8
parent3856f1b31f6c83b5a7c51b9334be29d1924216eb
mac80211: Use GFP_KERNEL instead of GFP_ATOMIC when possible

Previous memory allocations in this function already use GFP_KERNEL, so
use __dev_alloc_skb() and an explicit GFP_KERNEL instead of an implicit
GFP_ATOMIC.

This gives more opportunities of successful allocation.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/194a0e2ff00c3fae88cc9fba47431747360c8242.1645345378.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh.c