[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20101221.105330.104073991.davem@davemloft.net>
Date: Tue, 21 Dec 2010 10:53:30 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: error27@...il.com
Cc: peppe.cavallaro@...com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch -next] stmmac: unwind properly in stmmac_dvr_probe()
From: Dan Carpenter <error27@...il.com>
Date: Tue, 21 Dec 2010 10:34:56 +0300
> The original code had a several problems:
> *) It had potential null dereferences of "priv" and "res".
> *) It released the memory region before it was aquired.
> *) It didn't free "ndev" after it was allocated.
> *) It didn't call unregister_netdev() after calling stmmac_probe().
>
> Signed-off-by: Dan Carpenter <error27@...il.com>
Nice work, applied.
Thanks Dan.
--
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