RDMA/amso1100: Fix error paths in post_send and post_recv
authorFrank Zago <frank@zago.net>
Wed, 9 Dec 2009 22:56:11 +0000 (14:56 -0800)
committerRoland Dreier <rolandd@cisco.com>
Wed, 9 Dec 2009 22:56:11 +0000 (14:56 -0800)
commitc597b0240b686427248b6d4fc8adbe22f9a04c11
treef06d1efd1944b7500dbda4fa748de1f4ea80f4a1
parent91d3f9bacdb4950d2f79fe2ba296aa249f60d06c
RDMA/amso1100: Fix error paths in post_send and post_recv

Always set bad_wr when an immediate error is detected.

Signed-off-by: Frank Zago <fzago@systemfabricworks.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/amso1100/c2_qp.c