[openib-general] [PATCH] mthca_post_send oops w/ RC QPs

Libor Michalek libor at topspin.com
Thu Jan 27 17:52:34 PST 2005


Roland,

  Calling mthca_post_send() on a RC QP results in an oops because of
a missing break statement in the transport switch block. Here's the
patch.

Signed-off-by: Libor Michalek <libor at topspin.com>

Index: infiniband/hw/mthca/mthca_qp.c
===================================================================
--- infiniband/hw/mthca/mthca_qp.c	(revision 1686)
+++ infiniband/hw/mthca/mthca_qp.c	(working copy)
@@ -1352,6 +1352,7 @@
 				break;
 			}
 
+			break;
 		case UD:
 			((struct mthca_ud_seg *) wqe)->lkey =
 				cpu_to_be32(to_mah(wr->wr.ud.ah)->key);



More information about the general mailing list