> From: Vitaly Kuznetsov [mailto:vkuzn...@redhat.com]
> Sent: Thursday, March 2, 2017 17:48
> To: de...@linuxdriverproject.org
> Cc: linux-ker...@vger.kernel.org; KY Srinivasan <k...@microsoft.com>; Haiyang
> Zhang <haiya...@microsoft.com>; Stephen Hemminger
> <sthem...@microsoft.com>; Dexuan Cui <de...@microsoft.com>; Alex Ng (LIS)
> <ale...@microsoft.com>
> Subject: [PATCH] Drivers: hv: util: move waiting for release to 
> hv_utils_transport
> itself
> 
> Waiting for release_event in all three drivers introduced issues on release
> as on_reset() hook is not always called. E.g. if the device was never
> opened we will never get the completion.
> 
> Move the waiting code to hvutil_transport_destroy() and make sure it is
> only called when the device is open. hvt->lock serialization should
> guarantee the absence of races.
> 
> Fixes: 5a66fecbf6aa ("Drivers: hv: util: kvp: Fix a rescind processing issue")
> Fixes: 20951c7535b5 ("Drivers: hv: util: Fcopy: Fix a rescind processing 
> issue")
> Fixes: d77044d142e9 ("Drivers: hv: util: Backup: Fix a rescind processing 
> issue")
> Reported-by: Dexuan Cui <de...@microsoft.com>
> Tested-by: Dexuan Cui <de...@microsoft.com>
> Signed-off-by: Vitaly Kuznetsov <vkuzn...@redhat.com>

Acked-by: Dexuan Cui <de...@microsoft.com>

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to