-----Original Message----- From: Greg KH greg@kroah.com Sent: Wednesday, November 3, 2021 5:44 AM To: Yuiko Oshino - C18177 Yuiko.Oshino@microchip.com Cc: stable@vger.kernel.org Subject: Re: [PATCH net] net: ethernet: microchip: lan743x: Fix skb allocation failure
[You don't often get email from greg@kroah.com. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.]
EXTERNAL EMAIL: Do not click links or open attachments unless you know the content is safe
On Tue, Nov 02, 2021 at 10:14:27AM -0400, Yuiko Oshino wrote:
commit e8684db191e4164f3f5f3ad7dec04a6734c25f1c upstream.
The driver allocates skb during ndo_open with GFP_ATOMIC which has high
chance of failure when there are multiple instances.
GFP_KERNEL is enough while open and use GFP_ATOMIC only from interrupt
context.
Fixes: 23f0703c125b ("lan743x: Add main source files for new lan743x driver") Signed-off-by: Yuiko Oshino yuiko.oshino@microchip.com cc: stable@vger.kernel.org # 5.4.x
Now queued up, thanks.
greg k-h
Thank you, Greg!
Yuiko