[IPoIB NDIS 6.0 CM]
authortzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 17 Nov 2009 11:34:02 +0000 (11:34 +0000)
committertzachid <tzachid@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 17 Nov 2009 11:34:02 +0000 (11:34 +0000)
Fixed a bug in s_buf handling (mlnx 4997)

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

ulp/ipoib_NDIS6_CM/kernel/ipoib_port.cpp

index 775d106..821474e 100644 (file)
@@ -3802,7 +3802,6 @@ ipoib_process_sg_list_real(
                        ret = true;\r
                        goto send_end;\r
                }\r
-               s_buf->p_sgl = NULL;\r
        }\r
        else //We got this Net Buffer and its SG list directly from NDIS\r
        {\r
@@ -3865,6 +3864,7 @@ ipoib_process_sg_list_real(
                }\r
 \r
 mc_end:\r
+               ASSERT(s_buf->p_sgl);\r
                status = __send_mgr_queue( p_port, p_eth_hdr, &(p_port->p_desc->p_endpt) );\r
                cl_perf_stop( &p_port->p_adapter->perf, SendMgrQueue );\r
                if( status == NDIS_STATUS_PENDING )\r