Re: [PATCH v4] ax25: use GFP_KERNEL in ax25_dev_device_up()
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-06-18 03:40:16
Also in:
linux-hams
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-06-18 03:40:16
Also in:
linux-hams
Hello: This patch was applied to netdev/net-next.git (master) by Jakub Kicinski [off-list ref]: On Thu, 16 Jun 2022 11:23:33 -0400 you wrote:
ax25_dev_device_up() is only called during device setup, which is done in user context. In addition, ax25_dev_device_up() unconditionally calls ax25_register_dev_sysctl(), which already allocates with GFP_KERNEL. Since it is allowed to sleep in this function, here we change ax25_dev_device_up() to use GFP_KERNEL to reduce unnecessary out-of-memory errors. [...]
Here is the summary with links:
- [v4] ax25: use GFP_KERNEL in ax25_dev_device_up()
https://git.kernel.org/netdev/net-next/c/f0623340fd2c
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html