]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/cma: Mark end of CMA ID messages
authorLeon Romanovsky <leonro@mellanox.com>
Mon, 1 Jan 2018 11:07:17 +0000 (13:07 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jan 2018 21:12:47 +0000 (14:12 -0700)
commit509f2b9dbb69956e82de87dead0d824068c0fa7e
tree66b591082f27b37a28f111806ee32cf442c6465b
parentbd7096f0ea2dfc7740413acfaa3c17cdbfbdc83e
RDMA/cma: Mark end of CMA ID messages

The commit 46ee73ee249b ("RDMA/netlink: Simplify the put_msg and put_attr")
removes nlmsg_len calculation in ibnl_put_attr causing netlink messages and
caused to miss source and destination addresses.

Fixes: 46ee73ee249b ("RDMA/netlink: Simplify the put_msg and put_attr")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cma.c