Re: [PATCH] tg3: Disable tg3 device on system reboot to avoid triggering AER

From: Kai-Heng Feng
Date: Thu Aug 25 2022 - 22:33:24 EST


On Fri, Aug 26, 2022 at 1:44 AM Jakub Kicinski <kuba@xxxxxxxxxx> wrote:
>
> On Thu, 25 Aug 2022 14:38:52 +0800 Kai-Heng Feng wrote:
> > rtnl_lock();
> > +
> > + tg3_reset_task_cancel(tp);
>
> Doesn't this "task" take rtnl_lock()? Looks deadlocky.

Thanks for the review. I sent v2 to address it.

Kai-Heng