[IPoIB NDIS 6.0 CM]
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 17 Nov 2009 12:17:48 +0000 (12:17 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 17 Nov 2009 12:17:48 +0000 (12:17 +0000)
Init endpt field within s_buf structure (mlnx 5015)

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2563 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp

index 821474e..b44d156 100644 (file)
@@ -5356,8 +5356,12 @@ ipoib_port_send(
                //Set all the data needed for process_sg_list\r
                s_buf->p_port = p_port;\r
                s_buf->p_sgl = NULL;\r
+               s_buf->p_endpt = NULL;\r
                s_buf->p_nbl = p_net_buffer_list;\r
                s_buf->p_curr_nb = p_netbuf;\r
+               //TODO remove this line from process_sg_real\r
+               s_buf->p_send_buf = NULL;\r
+               \r
 \r
                //We can also define p_sg_buf as a static member of send_buf,\r
                // But the problem is that we don't know it's size\r