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
Kconfig -rw-r--r-- 3.6 KB
Makefile -rw-r--r-- 585 bytes
l2tp_core.c -rw-r--r-- 44.9 KB
l2tp_core.h -rw-r--r-- 11.0 KB
l2tp_debugfs.c -rw-r--r-- 8.9 KB
l2tp_eth.c -rw-r--r-- 8.4 KB
l2tp_ip.c -rw-r--r-- 15.7 KB
l2tp_ip6.c -rw-r--r-- 19.2 KB
l2tp_netlink.c -rw-r--r-- 27.0 KB
l2tp_ppp.c -rw-r--r-- 42.4 KB
trace.h -rw-r--r-- 5.3 KB

back to top