commit | 7a26c47412b201e1977ad42b760885f825158915 | [log] [tgz] |
---|---|---|
author | Bryan O'Sullivan <bos@pathscale.com> | Thu Sep 28 09:00:23 2006 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Thu Sep 28 11:17:12 2006 -0700 |
tree | 523874b1a1ad97cbfee58737952dc38ce717a518 | |
parent | bf3258ec418a008ab4672787ebff2c5837dd1e69 [diff] |
IB/ipath: Fix races with ib_resize_cq() The resize CQ function changes the memory used to store the queue. Other routines need to honor the lock before accessing the pointer to the queue and verify that the head and tail are in range. Signed-off-by: Bryan O'Sullivan <bryan.osullivan@qlogic.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>