diff options
author | David E. Box <[email protected]> | 2013-09-23 09:52:12 +0800 |
---|---|---|
committer | Rafael J. Wysocki <[email protected]> | 2013-09-24 01:46:24 +0200 |
commit | d2e7d079c7f21999e93802351c6ac7b31d266cce (patch) | |
tree | 538168357af90510c1135c5caa797ad8f67e9522 /lib/cpu-notifier-error-inject.c | |
parent | a2fd4b4b4e2884405c54a91514b0fad3853aea01 (diff) |
ACPICA: Operation region support: Never free the handler "context" pointer.
This change removes some dangerous code that attempts to free the
handler context pointer in some (rare) circumstances. The owner of
the handler owns this pointer and the ACPICA code should never
touch it. Although not seen to be an issue in any kernel, it did
show up as a problem under AcpiExec. Also, set the internal storage
field for the context pointer to zero when the region is deactivated,
simply for sanity. David Box.
Signed-off-by: David E. Box <[email protected]>
Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Lv Zheng <[email protected]>
Reviewed-by: Len Brown <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions