Re: [PATCH v5 06/13] SIW application interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Feb 28, 2019 at 05:57:55PM +0200, Gal Pressman wrote:
> On 28-Feb-19 17:38, Bernard Metzler wrote:
> >>> +
> >>> +		rv = ib_copy_to_udata(udata, &uresp, sizeof(uresp));
> >>
> >> All ib_copy_from/to_udata should copy the minimum of sizeof() and
> >> udata->inlen/outlen. Applies to other places in the code as well.
> >>
> > Hmmm, shouldn't better the rdma core take care of that?
>
> Sounds like a good idea, I would love to see such patch :).
> Anyway, this should be fixed here or in the core code.

If you are talking about drivers/infiniband/core/*, so yes, it was
discussed several times, but no one actually sent a patch.

Thanks

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux