diff options
author | Darrick J. Wong <djwong@us.ibm.com> | 2008-08-15 09:40:40 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-08-15 17:35:44 +0200 |
commit | 9c5413eac5199b8457689eb2c9d9e75138356bd6 (patch) | |
tree | 74865a1e85daa8e21c140c1ecb1de55fbbb08b50 /Documentation/prctl | |
parent | ibmaem: update the documentation to reflect the current name (diff) | |
download | linux-9c5413eac5199b8457689eb2c9d9e75138356bd6.tar.xz linux-9c5413eac5199b8457689eb2c9d9e75138356bd6.zip |
ibmaem: prevent infinite probing loop on x3650 M2 systems
On older machines, probing for a nonexistent AEM interface returned an
IPMI error; when we saw this, we'd stop probing. On the x3650 M2 and
(presumably) later, we are returned a value indicating success and a
buffer full of garbage or zeroes. This causes the probe function to run
in an infinite loop. To fix this, we add one last check--if the
interface number we're looking for is higher than the number of
interfaces that AEM claims to have, stop probing.
Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Documentation/prctl')
0 files changed, 0 insertions, 0 deletions