]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit01b225e18fcb540c5d615ca79ef832473451f118
tree6516f14b03d731700a6ed0baa6f0ca935fdcdd13
parentc34c97ad8c7c3cdacab2327235c2df4454ff1a06
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