From: Ivan Vecera <ivec...@redhat.com> Date: Wed, 28 Nov 2018 20:29:44 +0100
> And the right way? netif_device_detach() that does not fire > linkwatch events? Allocate all the TX queue resources first. Do not modify the TX queue configuration in any way whatsoever meanwhile. Only after successfully allocating the resources, should you commit them to the hardware configuration. That way there is no problem and you don't have to worry about the OOPS in question.