diff options
author | Shiraz Saleem <shiraz.saleem@intel.com> | 2017-09-29 08:25:01 -0500 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-09-29 11:32:42 -0400 |
commit | 04eae427406ef6af9b05bd631e235f4a509666b1 (patch) | |
tree | a75a0e283ff1c8e0dbbf3c2eb566cde366a59874 /tools/lib/api/fs/tracing_path.c | |
parent | 828bcbdc975fbcfb27946c33d4b1d1bfab70789b (diff) |
RDMA/iwpm: Properly mark end of NL messages
Commit 1a1c116f3dcf removes nlmsg_len calculation in
ibnl_put_attr causing netlink messages to be rejected due
to incorrect length.
Add nlmsg_end after all attributes are appended to calculate
the nlmsg_len.
Fixes: 1a1c116f3dcf ("RDMA/netlink: Simplify the put_msg and put_attr")
Signed-off-by: Shiraz Saleem <shiraz.saleem@intel.com>
Signed-off-by: Tatyana Nikolova <tatyana.e.nikolova@intel.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'tools/lib/api/fs/tracing_path.c')
0 files changed, 0 insertions, 0 deletions