[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171011094208.unbzehh444g3ztmx@mwanda>
Date: Wed, 11 Oct 2017 12:42:08 +0300
From: Dan Carpenter <dan.carpenter@...cle.com>
To: kys@...rosoft.com
Cc: gregkh@...uxfoundation.org, linux-kernel@...r.kernel.org,
devel@...uxdriverproject.org, olaf@...fle.de, apw@...onical.com,
vkuznets@...hat.com, jasowang@...hat.com,
leann.ogasawara@...onical.com, marcelo.cerri@...onical.com,
sthemmin@...rosoft.com, Haiyang Zhang <haiyangz@...rosoft.com>
Subject: Re: [PATCH 1/1] vmbus: hvsock: add proper sync for
vmbus_hvsock_device_unregister()
On Tue, Oct 10, 2017 at 10:38:51PM -0700, kys@...hange.microsoft.com wrote:
> From: Dexuan Cui <decui@...rosoft.com>
>
> 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 data stream may be dropped
> prematurely).
>
> Please consider this for 4.14.
Put these meta comments under the --- cut off line. They don't add
any value to the final upstream git log.
>
> Signed-off-by: Dexuan Cui <decui@...rosoft.com>
> Cc: Haiyang Zhang <haiyangz@...rosoft.com>
> Cc: Stephen Hemminger <sthemmin@...rosoft.com>
> Signed-off-by: K. Y. Srinivasan <kys@...rosoft.com>
> ---
> drivers/hv/channel_mgmt.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
regards,
dan carpenter
Powered by blists - more mailing lists