osm_sa_pkey_record.c: 
In osm_pkey_rec_rcv_process when VENDOR_RMPP_SUPPORT is not defined,
check response MAD method rather than request MAD method for GetTable
to determine whether to set RMPP type to DATA and RMPP flags

Index: osm_sa_pkey_record.c
===================================================================
--- osm_sa_pkey_record.c        (revision 1550)
+++ osm_sa_pkey_record.c        (revision 1551)
@@ -513,7 +513,7 @@
 #ifndef VENDOR_RMPP_SUPPORT
   /* we support only one packet RMPP - so we will set the first and
      last flags for gettable */
-  if (p_rcvd_mad->method == IB_MAD_METHOD_GETTABLE_RESP)
+  if (p_resp_sa_mad->method == IB_MAD_METHOD_GETTABLE_RESP)
   {
     p_resp_sa_mad->rmpp_type = IB_RMPP_TYPE_DATA;
     p_resp_sa_mad->rmpp_flags = IB_RMPP_FLAG_FIRST | IB_RMPP_FLAG_LAST | 
IB_RMPP_FLAG_ACTIVE;



_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to