Shiraz Saleem 04eae42740 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>
2017-09-29 11:32:42 -04:00
..
2017-08-22 17:04:22 -04:00
2016-05-13 13:37:18 -04:00
2017-08-22 17:04:22 -04:00
2017-08-31 08:35:09 -04:00
2017-09-05 15:15:30 -04:00
2017-08-10 13:28:10 +03:00
2017-08-18 14:47:37 -04:00
2017-09-22 11:52:09 -04:00