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

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