[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160106.152841.1995536779811312340.davem@davemloft.net>
Date: Wed, 06 Jan 2016 15:28:41 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: igal.liberman@...escale.com, netdev@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [patch -next] fsl/fman: double free on probe failure
From: Dan Carpenter <dan.carpenter@...cle.com>
Date: Wed, 6 Jan 2016 12:59:10 +0300
> "priv" is allocated with devm_kzalloc() so freeing it here with kfree()
> will lead to a double free.
>
> Fixes: 3933961682a3 ('fsl/fman: Add FMan MAC driver')
> Signed-off-by: Dan Carpenter <dan.carpenter@...cle.com>
Applied.
--
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