]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/core: Fix for parsing netlink string attribute
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Fri, 8 May 2015 21:36:33 +0000 (16:36 -0500)
committerDoug Ledford <dledford@redhat.com>
Tue, 12 May 2015 17:03:04 +0000 (13:03 -0400)
commitb615627fcc09b6cbdd65d51b9b4f450a7e7115c2
treede995cb2559e3c1fbb405a4e7f5f2bfeb748ed79
parentce31906260c93c558f75c03843740d3e38887e23
RDMA/core: Fix for parsing netlink string attribute

The string iwpm_ulib_name is recorded in a nlmsg as a netlink attribute.
Without this fix parsing of the nlmsg by the userspace port mapper service fails
because of unknown attribute length, causing the port mapper service not to
register the client, which has sent the nlmsg.

Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Cc: <stable@vger.kernel.org> #v3.16
Reviewed-By: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/iwpm_msg.c