[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171113081626.7a725831@xeon-e3>
Date: Mon, 13 Nov 2017 08:16:26 -0800
From: Stephen Hemminger <stephen@...workplumber.org>
To: Dexuan Cui <decui@...rosoft.com>
Cc: "'gregkh@...uxfoundation.org'" <gregkh@...uxfoundation.org>,
"Stephen Hemminger" <sthemmin@...rosoft.com>,
KY Srinivasan <kys@...rosoft.com>,
"'driverdev-devel@...uxdriverproject.org'"
<driverdev-devel@...uxdriverproject.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] vmbus: unregister device_obj->channels_kset
On Mon, 13 Nov 2017 01:53:33 +0000
Dexuan Cui <decui@...rosoft.com> wrote:
> Fixes: c2e5df616e1a ("vmbus: add per-channel sysfs info")
>
> Without the patch, a device can't be thoroughly destroyed, because
> vmbus_device_register() -> kset_create_and_add() still holds a reference
> to the hv_device's device.kobj.
>
> Signed-off-by: Dexuan Cui <decui@...rosoft.com>
> Cc: Stephen Hemminger <sthemmin@...rosoft.com>
> Cc: K. Y. Srinivasan <kys@...rosoft.com>
> ---
Good catch
Signed-off-by: Stephen Hemminger <sthemmin@...rosoft.com>
Powered by blists - more mailing lists