]> Git Repo - linux.git/commit
driver core: Don't leak secondary fwnode on device removal
authorLukas Wunner <[email protected]>
Thu, 28 Jul 2016 00:25:41 +0000 (02:25 +0200)
committerRafael J. Wysocki <[email protected]>
Tue, 30 Aug 2016 22:28:29 +0000 (00:28 +0200)
commit478573c93abd369c4850de55c387be43aa01e2e8
tree01a3d0fa8400845fb034a2e2eff2a106518192cb
parent3eab887a55424fc2c27553b7bfe32330df83f7b8
driver core: Don't leak secondary fwnode on device removal

If device_add_property_set() is called for a device, a secondary fwnode
is allocated and assigned to the device but currently not freed once the
device is removed.

This can be triggered on Apple Macs if a Thunderbolt device is plugged
in on boot since Apple's NHI EFI driver sets a number of properties for
that device which are leaked on unplug.

Signed-off-by: Lukas Wunner <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
drivers/base/core.c
This page took 0.052074 seconds and 4 git commands to generate.