Re: [PATCH (net.git)] stmmac: fix resource management when resume

2015-12-05 Thread David Miller
From: Giuseppe Cavallaro Date: Fri, 4 Dec 2015 07:21:06 +0100 > There is a memleak when suspend/resume this driver version. > Currently the stmmac, during resume step, reallocates all the resources > but they are not released when suspend. > The patch is not to release these resources but the log

Re: [PATCH (net.git)] stmmac: fix resource management when resume

2015-12-03 Thread Giuseppe CAVALLARO
Hi David This is the v2, sorry I missed it in the subject. Re-based on top of net.git. peppe On 12/4/2015 7:21 AM, Giuseppe Cavallaro wrote: There is a memleak when suspend/resume this driver version. Currently the stmmac, during resume step, reallocates all the resources but they are not rel

[PATCH (net.git)] stmmac: fix resource management when resume

2015-12-03 Thread Giuseppe Cavallaro
There is a memleak when suspend/resume this driver version. Currently the stmmac, during resume step, reallocates all the resources but they are not released when suspend. The patch is not to release these resources but the logic has been changed. In fact, it is not necessary to free and reallocate

Re: [PATCH (net.git)] stmmac: fix resource management when resume

2015-11-30 Thread David Miller
From: Giuseppe Cavallaro Date: Thu, 26 Nov 2015 11:32:04 +0100 > There is a memleak when suspend/resume this driver version. > Currently the stmmac, during resume step, reallocates all the resources > but they are not released when suspend. > The patch is not to release these resources but the lo

[PATCH (net.git)] stmmac: fix resource management when resume

2015-11-26 Thread Giuseppe Cavallaro
There is a memleak when suspend/resume this driver version. Currently the stmmac, during resume step, reallocates all the resources but they are not released when suspend. The patch is not to release these resources but the logic has been changed. In fact, it is not necessary to free and reallocate