aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/dsa_loop.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2022-02-20 08:23:15 +0000
committerJohannes Berg <[email protected]>2022-03-11 10:42:49 +0000
commit60df54f8e6bb2c375a9d21f16c9d3983206709e7 (patch)
treeff488eeee4f52a54ee84a241f4505a6457555ea8 /drivers/net/dsa/dsa_loop.c
parentmac80211: replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE (diff)
downloadkernel-60df54f8e6bb2c375a9d21f16c9d3983206709e7.tar.gz
kernel-60df54f8e6bb2c375a9d21f16c9d3983206709e7.zip
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 <[email protected]> Link: https://lore.kernel.org/r/194a0e2ff00c3fae88cc9fba47431747360c8242.1645345378.git.christophe.jaillet@wanadoo.fr Signed-off-by: Johannes Berg <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions