On Mon, 2005-09-19 at 14:13, Roland Dreier wrote:
> Formatting changes aside, it seems that the change is just the below.

A patch didn't make it to the list so I checked it in.

> Is that all there is?

I sent an email summarizing this. See if you think the same thing.
Thanks.

-- Hal

>  - R.
> 
> --- drivers/infiniband/core/user_mad.c
> +++ drivers/infiniband/core/user_mad.c
> @@ -337,7 +337,7 @@ static ssize_t ib_umad_write(struct file
>               /* Validate that management class can support RMPP */
>               if (rmpp_mad->mad_hdr.mgmt_class == IB_MGMT_CLASS_SUBN_ADM) {
>                       hdr_len = offsetof(struct ib_sa_mad, data);
> -                     data_len = length;
> +                     data_len = length - hdr_len;
>               } else if ((rmpp_mad->mad_hdr.mgmt_class >= 
> IB_MGMT_CLASS_VENDOR_RANGE2_START) &&
>                           (rmpp_mad->mad_hdr.mgmt_class <= 
> IB_MGMT_CLASS_VENDOR_RANGE2_END)) {
>                               hdr_len = offsetof(struct ib_vendor_mad, data);

_______________________________________________
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