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

Stephen Hemminger stephen at networkplumber.org
Tue Nov 28 17:29:40 UTC 2017


On Tue, 28 Nov 2017 16:56:05 +0100
Greg KH <gregkh at linuxfoundation.org> wrote:

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

It doesn't need to go to stable.


More information about the devel mailing list