Skip to content
Commit 2b7d6a8c authored by James Bottomley's avatar James Bottomley Committed by James Bottomley
Browse files

[SCSI] attribute container final klist fixes



Since the attribute container deletes from a klist while it's walking
it, it is vulnerable to the problem (and fix) here:

http://marc.theaimsgroup.com/?l=linux-scsi&m=112485448830217

The attached fixes this (but won't compile without the above).

It also fixes the logical reversal in the traversal loop which meant
that we were never actually traversing the loop to hit this bug in the
first place.

Signed-off-by: default avatarJames Bottomley <James.Bottomley@SteelEye.com>
parent 53c165e0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment