diff options
author | Alex Chiang <[email protected]> | 2009-03-30 10:50:14 -0600 |
---|---|---|
committer | Jesse Barnes <[email protected]> | 2009-04-06 11:30:26 -0700 |
commit | 5d4a4b25ddc3e864d3a562c024bebdc922118854 (patch) | |
tree | 9f0c9cdf4c14487517be83e82596a83616d905af /net/lapb/lapb_subr.c | |
parent | c2ac7cdc6707a8a3fc5cdaebb65cb724ba8ecdef (diff) |
PCI Hotplug: acpiphp: grab refcount on p2p subordinate bus
If a logical hot unplug (remove) is performed on a bridge claimed
by acpiphp and then acpiphp is unloaded, we will encounter an oops.
This is because acpiphp will access the bridge's subordinate bus,
which was released by the user's prior hot unplug.
The solution is to grab a reference on the subordinate PCI bus.
This will prevent the bus from release until acpiphp is unloaded.
Reviewed-by: Kenji Kaneshige <[email protected]>
Tested-by: Kenji Kaneshige <[email protected]>
Reported-by: Kenji Kaneshige <[email protected]>
Signed-off-by: Alex Chiang <[email protected]>
Signed-off-by: Jesse Barnes <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions