Re: [dpdk-dev] [PATCH] net/cxgbe: free resources in dev_uninit function

2018-05-14 Thread Ferruh Yigit
On 5/12/2018 12:50 PM, Rahul Lakkireddy wrote: > Move freeing up resources from dev_close() to dev_uninit(). This fixes > NULL pointer de-reference when accessing adapter context needed by > other ports under same PF, but had been freed up by the first port. > This can happen if only the first port

[dpdk-dev] [PATCH] net/cxgbe: free resources in dev_uninit function

2018-05-12 Thread Rahul Lakkireddy
Move freeing up resources from dev_close() to dev_uninit(). This fixes NULL pointer de-reference when accessing adapter context needed by other ports under same PF, but had been freed up by the first port. This can happen if only the first port is started up and the check to free up all resources i