RE: [PATCH 1/1] vmbus: hvsock: add proper sync for vmbus_hvsock_device_unregister()

2017-10-11 Thread KY Srinivasan
inuxdriverproject.org; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; jasow...@redhat.com; > leann.ogasaw...@canonical.com; marcelo.ce...@canonical.com; Stephen > Hemminger <sthem...@microsoft.com>; Haiyang Zhang > <haiya...@microsoft.com> > Subj

RE: [PATCH 1/1] vmbus: hvsock: add proper sync for vmbus_hvsock_device_unregister()

2017-10-11 Thread KY Srinivasan
rg; o...@aepfle.de; a...@canonical.com; > vkuzn...@redhat.com; jasow...@redhat.com; > leann.ogasaw...@canonical.com; marcelo.ce...@canonical.com; Stephen > Hemminger ; Haiyang Zhang > > Subject: Re: [PATCH 1/1] vmbus: hvsock: add proper sync for > vmbus_hvsock_device_unregister() > >

Re: [PATCH 1/1] vmbus: hvsock: add proper sync for vmbus_hvsock_device_unregister()

2017-10-11 Thread Dan Carpenter
On Tue, Oct 10, 2017 at 10:38:51PM -0700, k...@exchange.microsoft.com wrote: > From: Dexuan Cui > > Without the patch, vmbus_hvsock_device_unregister() can destroy the device > prematurely when close() is called, and can cause NULl dereferencing or > potential data loss (the

Re: [PATCH 1/1] vmbus: hvsock: add proper sync for vmbus_hvsock_device_unregister()

2017-10-11 Thread Dan Carpenter
On Tue, Oct 10, 2017 at 10:38:51PM -0700, k...@exchange.microsoft.com wrote: > From: Dexuan Cui > > Without the patch, vmbus_hvsock_device_unregister() can destroy the device > prematurely when close() is called, and can cause NULl dereferencing or > potential data loss (the last portion of the