diff options
author | Lukas Wunner | 2016-07-28 02:25:41 +0200 |
---|---|---|
committer | Rafael J. Wysocki | 2016-08-31 00:28:29 +0200 |
commit | 478573c93abd369c4850de55c387be43aa01e2e8 (patch) | |
tree | 01a3d0fa8400845fb034a2e2eff2a106518192cb /ipc/util.h | |
parent | Linux 4.8-rc4 (diff) | |
download | kernel-qcow2-linux-478573c93abd369c4850de55c387be43aa01e2e8.tar.gz kernel-qcow2-linux-478573c93abd369c4850de55c387be43aa01e2e8.tar.xz kernel-qcow2-linux-478573c93abd369c4850de55c387be43aa01e2e8.zip |
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 <lukas@wunner.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'ipc/util.h')
0 files changed, 0 insertions, 0 deletions