commit | 0816e0c8188e7db85a7284d3f0f456947ebb049c | [log] [tgz] |
---|---|---|
author | Shannon Nelson <snelson@pensando.io> | Wed Sep 30 10:48:28 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 30 15:11:09 2020 -0700 |
tree | d60af5ae9a50e314c2ec976c267932e6fcadef8e | |
parent | df8aeaa8268f11dc3c2d0975954624cf324eab15 [diff] |
ionic: prevent early watchdog check 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 <snelson@pensando.io> Signed-off-by: David S. Miller <davem@davemloft.net>