]> 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)
commit553351062f65f4c5849603971002a29b53e53f93
tree6516f14b03d731700a6ed0baa6f0ca935fdcdd13
parenta65469d6b2aa4a8138302c2968c02671ca31bcc1
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