[VNIC] nasty bug.
[mirror/winof/.git] / ulp / inic / kernel / vnic_data.c
index 378053b..07a54a8 100644 (file)
@@ -529,6 +529,7 @@ data_xmitPacket(
                                                                                p_sgl->NumberOfElements ) );\r
                return FALSE;\r
        }\r
+       pRdmaIo->p_packet = p_packet;\r
 \r
        for( i=0; i < p_sgl->NumberOfElements; i++ )\r
        {\r
@@ -607,8 +608,8 @@ data_xmitPacket(
        pRdmaIo->dsList[p_sgl->NumberOfElements].length = pRdmaIo->len -\r
                                                                                                          pRdmaIo->packet_sz +\r
                                                                                                          sizeof( ViportTrailer_t );\r
-       //pRdmaIo->io.wrq.ds_array = pRdmaIo->dsList;\r
-    pRdmaIo->io.wrq.num_ds =p_sgl->NumberOfElements + 1;\r
+\r
+       pRdmaIo->io.wrq.num_ds =p_sgl->NumberOfElements + 1;\r
 \r
        data_rdmaPacket( pData, pBpe, pRdmaIo );\r
 \r