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)
commite48e5e198fb6ec77c91047a694022f0fefa45292
tree66b591082f27b37a28f111806ee32cf442c6465b
parentc2409810c0c9148bca4c3e13ac96dced1e4c11c5
RDMA/cma: Mark end of CMA ID messages

The commit 1a1c116f3dcf ("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: 1a1c116f3dcf ("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