]> git.ipfire.org Git - thirdparty/kernel/stable.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 12 Apr 2018 10:31:04 +0000 (12:31 +0200)
commit2bddcdd33e3a2a9c90aebebf6be116467627d202
tree467fd2f117b6bd807c570992f315f3a7207cbcd5
parent7f0880203e52a50a90bd1a751f3026b5f37a35e2
RDMA/cma: Mark end of CMA ID messages

[ Upstream commit e48e5e198fb6ec77c91047a694022f0fefa45292 ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/infiniband/core/cma.c