[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150102.164407.1319629041737193981.davem@davemloft.net>
Date: Fri, 02 Jan 2015 16:44:07 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: _govind@....com
Cc: netdev@...r.kernel.org, ssujith@...co.com, benve@...co.com
Subject: Re: [PATCH net] enic: free all rq buffs when allocation fails
From: Govindarajulu Varadarajan <_govind@....com>
Date: Fri, 2 Jan 2015 20:53:27 +0530
> When allocation of all RQs fail, we do not free previously allocated buffers,
> before returning error. This causes memory leak.
>
> This patch fixes this by calling vnic_rq_clean(), which frees all the rq
> buffers.
>
> Signed-off-by: Govindarajulu Varadarajan <_govind@....com>
Looks good, applied, thanks.
--
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