Re: [PATCH] ibmvfc: free channel_setup_buf during device tear down

2021-03-15 Thread Martin K. Petersen
On Wed, 10 Mar 2021 19:22:12 -0600, Tyrel Datwyler wrote: > The buffer for negotiating channel setup is DMA allocated at device > probe time. However, the remove path fails to free this allocation which > will prevent the hypervisor from releasing the virtual device in the > case of a hotplug remo

[PATCH] ibmvfc: free channel_setup_buf during device tear down

2021-03-10 Thread Tyrel Datwyler
The buffer for negotiating channel setup is DMA allocated at device probe time. However, the remove path fails to free this allocation which will prevent the hypervisor from releasing the virtual device in the case of a hotplug remove. Fix this issue by freeing the buffer allocation in ibmvfc_free