From: Greg KH <greg@kroah.com>
To: Yuiko Oshino <yuiko.oshino@microchip.com>
Cc: stable@vger.kernel.org
Subject: Re: [PATCH net] net: ethernet: microchip: lan743x: Fix skb allocation failure
Date: Wed, 3 Nov 2021 10:43:39 +0100 [thread overview]
Message-ID: <YYJZy7wo0f1ePNSp@kroah.com> (raw)
In-Reply-To: <20211102141427.11272-1-yuiko.oshino@microchip.com>
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
next prev parent reply other threads:[~2021-11-03 9:43 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-02 14:14 [PATCH net] net: ethernet: microchip: lan743x: Fix skb allocation failure Yuiko Oshino
2021-11-03 9:43 ` Greg KH [this message]
2021-11-03 11:28 ` Yuiko.Oshino
-- strict thread matches above, loose matches on Subject: below --
2021-11-02 14:10 Yuiko Oshino
2021-10-27 18:23 Yuiko Oshino
2021-10-28 13:50 ` patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YYJZy7wo0f1ePNSp@kroah.com \
--to=greg@kroah.com \
--cc=stable@vger.kernel.org \
--cc=yuiko.oshino@microchip.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.