[ofa-general] Re: [PATCHv2] ibsim: Support short RMPP packets

Sasha Khapyorsky sashak at voltaire.com
Tue Jun 24 13:56:04 PDT 2008


On 06:53 Mon 23 Jun     , Hal Rosenstock wrote:
> 
> An additional change is needed to umad2sim/umad2sim.c:
> 
> @@ -425,7 +425,7 @@ static ssize_t umad2sim_read(struct umad2sim_dev *dev, void 
>                 cnt = count - umad_size();
>         memcpy(umad_get_mad(umad), req.mad, cnt);
>  
> -       return cnt + umad_size();
> +       return umad->length;
>  }

Yes, correct. I will apply the final patch.

Sasha



More information about the general mailing list