RE: [PATCH v1 net] lan743x: Fix RX Kernel Panic

2019-03-11 Thread Bryan.Whitehead
> In the second and third hunk, you have to check lan743x_rx_allocate_skb() > for NULL too and act accordingly. OK David, I'll work on it. Bryan

Re: [PATCH v1 net] lan743x: Fix RX Kernel Panic

2019-03-08 Thread David Miller
From: Bryan Whitehead Date: Tue, 5 Mar 2019 14:46:04 -0500 > @@ -2060,8 +2068,19 @@ static int lan743x_rx_process_packet(struct lan743x_rx > *rx) > /* packet is available */ > if (first_index == last_index) { > /* single buffer packet */ > +

[PATCH v1 net] lan743x: Fix RX Kernel Panic

2019-03-05 Thread Bryan Whitehead
It has been noticed that running the speed test at www.speedtest.net occasionally causes a kernel panic. Investigation revealed that under this test RX buffer allocation sometimes fails and returns NULL. But the lan743x driver did not handle this case. This patch fixes this issue by attempting to