Re: [PATCH net-next 2/2] ionic: prevent early watchdog check
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-09-30 00:26:37
From: Jakub Kicinski <kuba@kernel.org>
Date: 2020-09-30 00:26:37
On Tue, 29 Sep 2020 17:17:45 -0700 Shannon Nelson wrote:
On 9/29/20 5:15 PM, Jakub Kicinski wrote:quoted
On Tue, 29 Sep 2020 15:19:56 -0700 Shannon Nelson wrote:quoted
In one corner case scenario, the driver device lif setup can get delayed such that the ionic_watchdog_cb() timer goes off before the ionic->lif is set, thus causing a NULL pointer panic. We catch the problem by checking for a NULL lif just a little earlier in the callback. Signed-off-by: Shannon Nelson <redacted>Hah, I should have looked at the second patch :DAm I making my patches too small now? :-)
Just right :)