[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20120608125306.GN4400@mwanda>
Date: Fri, 8 Jun 2012 15:53:06 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: David Miller <davem@...emloft.net>
Cc: raffaele.recalcati@...cino.it, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch] net/ethernet: ks8851_mll unregister_netdev() before
freeing
On Thu, Jun 07, 2012 at 01:15:44PM -0700, David Miller wrote:
> From: Dan Carpenter <dan.carpenter@...cle.com>
> Date: Wed, 6 Jun 2012 09:31:29 +0300
>
> > We added another error condition here, but if we were to hit it then
> > we need to unregister_netdev() before doing the free_netdev().
> > Otherwise we would hit the BUG_ON() in free_netdev():
> >
> > BUG_ON(dev->reg_state != NETREG_UNREGISTERED);
> >
> > Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
>
> Applied, but please be explicit that your patch is against one
> tree or another. This one was for net-next only, but I tried
> initially to apply it to net which failed.
Sorry about that. Will be more careful in the future.
regards,
dan carpenter
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists