Revision e8684db191e4164f3f5f3ad7dec04a6734c25f1c authored by Yuiko Oshino on 27 October 2021, 18:23:02 UTC, committed by David S. Miller on 28 October 2021, 13:45:07 UTC
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 1d9d6fd
History
File Mode Size
Makefile -rw-r--r-- 680 bytes
clear_page.S -rw-r--r-- 463 bytes
clear_user.S -rw-r--r-- 1.2 KB
copy_from_user.S -rw-r--r-- 1.4 KB
copy_page.S -rw-r--r-- 1.7 KB
copy_template.S -rw-r--r-- 3.9 KB
copy_to_user.S -rw-r--r-- 1.4 KB
crc32.S -rw-r--r-- 1.9 KB
csum.c -rw-r--r-- 4.0 KB
delay.c -rw-r--r-- 1.3 KB
error-inject.c -rw-r--r-- 563 bytes
insn.c -rw-r--r-- 35.7 KB
kasan_sw_tags.S -rw-r--r-- 2.1 KB
memchr.S -rw-r--r-- 1.3 KB
memcmp.S -rw-r--r-- 2.8 KB
memcpy.S -rw-r--r-- 5.8 KB
memset.S -rw-r--r-- 4.4 KB
mte.S -rw-r--r-- 3.5 KB
strchr.S -rw-r--r-- 596 bytes
strcmp.S -rw-r--r-- 4.9 KB
strlen.S -rw-r--r-- 6.2 KB
strncmp.S -rw-r--r-- 7.0 KB
strnlen.S -rw-r--r-- 4.1 KB
strrchr.S -rw-r--r-- 592 bytes
tishift.S -rw-r--r-- 1.0 KB
uaccess_flushcache.c -rw-r--r-- 963 bytes
xor-neon.c -rw-r--r-- 4.7 KB

back to top