[openib-general] [PATCH] sa_query: In send_mad, initialize wr.next to NULL

Hal Rosenstock halr at voltaire.com
Fri Jun 3 06:10:41 PDT 2005


sa_query: In send_mad, initialize wr.next to NULL

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: sa_query.c
===================================================================
-- sa_query.c  (revision 2532)
+++ sa_query.c  (working copy)
@@ -433,6 +433,7 @@
        int ret;
        struct ib_sge      gather_list;
        struct ib_send_wr *bad_wr, wr = {
+               .next        = NULL,
                .opcode      = IB_WR_SEND,
                .sg_list     = &gather_list,
                .num_sge     = 1,




More information about the general mailing list