commit | 7f3ee8e030d851fdb0eace00cc5ceb294238c1b8 | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgg@mellanox.com> | Mon Jun 11 20:56:50 2018 -0600 |
committer | Jason Gunthorpe <jgg@mellanox.com> | Mon Jun 18 11:09:05 2018 -0600 |
tree | 1c0965e43a2b67193941ef34dddab156ef4b5c73 | |
parent | aaf5e003b1c454c5722bc4ea9dfd3506c57d36a9 [diff] |
IB/rxe: Do not hide uABI stuff in memcpy 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. Reviewed-by: Zhu Yanjun <yanjun.zhu@oracle.com> Reviewed-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>