diff options
| author | Eli Cohen <[email protected]> | 2013-10-31 13:26:35 +0000 |
|---|---|---|
| committer | Roland Dreier <[email protected]> | 2013-11-15 18:24:17 +0000 |
| commit | 93b80ac297b1cfdf3bea771a5ce6ea4ff5d25d1d (patch) | |
| tree | c8cb81c349cb9740b358b9670ecbe5fb8904aa35 /net/unix/af_unix.c | |
| parent | Linux 3.12-rc7 (diff) | |
| download | kernel-93b80ac297b1cfdf3bea771a5ce6ea4ff5d25d1d.tar.gz kernel-93b80ac297b1cfdf3bea771a5ce6ea4ff5d25d1d.zip | |
IB/mlx4: Fix endless loop in resize CQ
When calling get_sw_cqe() we need pass the consumer_index and not the
masked value. Failure to do so will cause incorrect result of
get_sw_cqe() possibly leading to endless loop.
This problem was reported and analyzed by Michael Rice from HP.
Signed-off-by: Eli Cohen <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
