diff options
author | Jiri Slaby <jirislaby@gmail.com> | 2009-01-17 16:23:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-02-02 08:28:16 -0800 |
commit | ae934bc9b4f3b49fc83617792cce6ca938e3fbd0 (patch) | |
tree | 7fc35f051b9ecb4e8547ef756c72e41d0a9c298b /kernel/relay.c | |
parent | 74ecc88002472e3a880e3fe346d24eb9276eb2dc (diff) |
PCI hotplug: fix lock imbalance in pciehp
commit c2fdd36b550659f5ac2240d1f5a83ffa1a092289 upstream.
set_lock_status omits mutex_unlock in fail path. Add the omitted
unlock.
As a result a lockup caused by this can be triggered from userspace
by writing 1 to /sys/bus/pci/slots/.../lock often enough.
Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'kernel/relay.c')
0 files changed, 0 insertions, 0 deletions