Re: [PATCH net-next] net: thunderx: fix double free error

2017-11-11 Thread David Miller
From: Aleksey Makarov Date: Thu, 9 Nov 2017 14:58:57 +0300 > This patch fixes an error in memory allocation/freeing in > ThunderX PF driver. > > I moved the allocation to the probe() function and made it managed. > > From the Colin's email: > > While running

Re: [PATCH net-next] net: thunderx: fix double free error

2017-11-11 Thread David Miller
From: Aleksey Makarov Date: Thu, 9 Nov 2017 14:58:57 +0300 > This patch fixes an error in memory allocation/freeing in > ThunderX PF driver. > > I moved the allocation to the probe() function and made it managed. > > From the Colin's email: > > While running static analysis on linux-next

[PATCH net-next] net: thunderx: fix double free error

2017-11-09 Thread Aleksey Makarov
This patch fixes an error in memory allocation/freeing in ThunderX PF driver. I moved the allocation to the probe() function and made it managed. >From the Colin's email: While running static analysis on linux-next with CoverityScan I found 3 double free errors in the Cavium thunder driver.

[PATCH net-next] net: thunderx: fix double free error

2017-11-09 Thread Aleksey Makarov
This patch fixes an error in memory allocation/freeing in ThunderX PF driver. I moved the allocation to the probe() function and made it managed. >From the Colin's email: While running static analysis on linux-next with CoverityScan I found 3 double free errors in the Cavium thunder driver.