[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 16 Nov 2020 03:22:54 +0000
From: Joel Stanley <joel@....id.au>
To: Jakub Kicinski <kuba@...nel.org>
Cc: "David S . Miller" <davem@...emloft.net>,
Andrew Jeffery <andrew@...id.au>,
Ivan Mikhaylov <i.mikhaylov@...ro.com>,
Networking <netdev@...r.kernel.org>
Subject: Re: [PATCH] net: ftgmac100: Fix crash when removing driver
On Thu, 12 Nov 2020 at 23:22, Jakub Kicinski <kuba@...nel.org> wrote:
>
> On Thu, 12 Nov 2020 11:01:45 +1030 Joel Stanley wrote:
> > When removing the driver we would hit BUG_ON(!list_empty(&dev->ptype_specific))
> > in net/core/dev.c due to still having the NC-SI packet handler
> > registered.
>
> > Fixes: bd466c3fb5a4 ("net/faraday: Support NCSI mode")
> > Signed-off-by: Joel Stanley <joel@....id.au>
>
> Thanks for the fix, I think there is another one of those missing in
> the error path of ftgmac100_probe(), right? Under err_ncsi_dev?
You're correct, I'll send a v2.
Powered by blists - more mailing lists