Re: [PATCH 1/2] vmbus: unregister device_obj->channels_kset

From: Stephen Hemminger
Date: Tue Nov 28 2017 - 12:29:54 EST


On Tue, 28 Nov 2017 16:56:05 +0100
Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx> wrote:

> On Tue, Nov 14, 2017 at 06:53:32AM -0700, kys@xxxxxxxxxxxxxxxxxxxxxx wrote:
> > From: Dexuan Cui <decui@xxxxxxxxxxxxx>
> >
> > 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@xxxxxxxxxxxxx>
> > Cc: Stephen Hemminger <sthemmin@xxxxxxxxxxxxx>
> > Cc: stable@xxxxxxxxxxxxxxx
>
> Why is this marked for stable when the patch it "fixes" is in 4.15-rc1?

It doesn't need to go to stable.