diff options
| author | Yuiko Oshino <[email protected]> | 2021-10-27 18:23:02 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2021-10-28 13:45:07 +0000 |
| commit | e8684db191e4164f3f5f3ad7dec04a6734c25f1c (patch) | |
| tree | e919ae09f3edff8ddb4d897e1661b8cd74bf1d69 /scripts/gcc-plugins/randomize_layout_plugin.c | |
| parent | net/tls: Fix flipped sign in async_wait.err assignment (diff) | |
| download | kernel-e8684db191e4164f3f5f3ad7dec04a6734c25f1c.tar.gz kernel-e8684db191e4164f3f5f3ad7dec04a6734c25f1c.zip | |
net: ethernet: microchip: lan743x: Fix skb allocation failure
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/randomize_layout_plugin.c')
0 files changed, 0 insertions, 0 deletions
