Re: [PATCH] IB/rxe: Do not hide uABI stuff in memcpy

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

 



On Mon, Jun 11, 2018 at 08:56:50PM -0600, Jason Gunthorpe wrote:
> struct rxe_global_route and struct ib_global_route are not the same thing
> and should not be memcpy'd over each other, do a member by member copy
> instead. This allows the layout of the in-kernel struct ib_global_route to
> be changed without breaking rxe.
>
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/sw/rxe/rxe_av.c | 19 ++++++++++++++++---
>  1 file changed, 16 insertions(+), 3 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@xxxxxxxxxxxx>

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