RDMA/cxgb3: Initialize cpu_idx field in cpl_close_listserv_req message
authorSteve Wise <swise@opengridcomputing.com>
Thu, 26 Apr 2007 20:21:15 +0000 (15:21 -0500)
committerRoland Dreier <rolandd@cisco.com>
Tue, 1 May 2007 00:30:28 +0000 (17:30 -0700)
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/hw/cxgb3/iwch_cm.c

index 3b4b0acd707f3de691be28e5538e7cf4f6cbe8c2..a02be40ee29b69e79d3e72b3c146ae7818817028 100644 (file)
@@ -1189,6 +1189,7 @@ static int listen_stop(struct iwch_listen_ep *ep)
        }
        req = (struct cpl_close_listserv_req *) skb_put(skb, sizeof(*req));
        req->wr.wr_hi = htonl(V_WR_OP(FW_WROPCODE_FORWARD));
+       req->cpu_idx = 0;
        OPCODE_TID(req) = htonl(MK_OPCODE_TID(CPL_CLOSE_LISTSRV_REQ, ep->stid));
        skb->priority = 1;
        ep->com.tdev->send(ep->com.tdev, skb);