]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cxgb4: Fix retry with MPAv1 logic for MPAv2
authorKumar Sanghvi <kumaras@chelsio.com>
Mon, 28 Nov 2011 16:39:15 +0000 (22:09 +0530)
committerRoland Dreier <roland@purestorage.com>
Mon, 28 Nov 2011 19:58:07 +0000 (11:58 -0800)
commit6677d1b3fe6d13dbcfdf3d0bc4ced119c66c607b
tree6516f14b03d731700a6ed0baa6f0ca935fdcdd13
parent175336a1555a93b319dc1d5b942ae1da53a6fdff
RDMA/cxgb4: Fix retry with MPAv1 logic for MPAv2

Fix logic so that we don't retry with MPAv1 once we have done that
already.  Otherwise, we end up retrying with MPAv1 even when its not
needed on getting peer aborts - and this could lead to kernel panic.

Signed-off-by: Kumar Sanghvi <kumaras@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/cxgb4/cm.c