Re: [PATCH net] netconsole: Check for carrier before calling netpoll_send_udp()
From: David Miller
Date: Tue Aug 11 2015 - 00:23:03 EST
From: Jon Maxwell <jmaxwell37@xxxxxxxxx>
Date: Tue, 11 Aug 2015 11:32:26 +1000
> We have seen a few crashes recently where a NIC is getting
> reset for some reason and then the driver or another module calls
> printk() which invokes netconsole. Netconsole then calls the
> adapter specific poll routine via netpoll which crashes because
> the adapter is resetting and its structures are being reinitialized.
This isn't a fix.
What if the carrier check passes, and then the chip reset starts on
another cpu? You'll have the same problem.
I'm not applying this, sorry.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/