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-18 14:12:04 -04:00
2017-05-01 14:32:43 -04:00
2015-06-12 14:49:18 -04:00
2017-08-24 16:27:10 -04:00
2017-01-10 11:14:27 -05:00
2015-05-05 13:21:27 -04:00
2017-08-31 08:35:07 -04:00
2017-02-15 09:51:28 -05:00
2017-08-24 16:15:32 -04:00
2017-08-10 14:34:18 -04:00
2017-03-24 22:19:48 -04:00
2017-08-24 20:25:15 -04:00
2017-04-25 14:24:17 -04:00
2017-08-22 17:04:22 -04:00
2016-08-02 13:15:18 -04:00
2017-09-29 11:32:42 -04:00
2017-09-29 11:32:42 -04:00
2016-03-16 13:48:32 -04:00
2016-01-19 15:25:45 -05:00
2017-08-08 14:47:18 -04:00
2017-05-23 12:27:21 -04:00
2017-08-31 08:35:10 -04:00
2016-05-13 13:37:18 -04:00
2017-05-01 14:32:43 -04:00
2017-09-08 10:17:20 -07:00
2017-08-22 17:04:22 -04:00
2015-07-14 13:20:08 -04:00
2016-03-03 10:20:25 -05:00
2017-08-31 08:35:11 -04:00
2017-08-31 08:35:09 -04:00
2017-07-24 08:45:11 -04:00
2017-09-05 15:15:30 -04:00
2017-08-24 16:27:10 -04:00
2017-09-25 11:47:23 -04:00
2015-07-14 13:20:08 -04:00
2015-07-14 13:20:08 -04:00
2017-08-10 13:28:10 +03:00
2017-08-08 14:47:18 -04:00
2017-08-08 14:47:18 -04:00
2016-03-03 10:20:25 -05:00
2017-08-31 16:12:59 -07:00
2017-09-08 18:26:49 -07:00
2017-06-01 17:20:12 -04:00
2017-08-18 14:47:37 -04:00
2017-09-25 11:47:23 -04:00
2017-08-31 08:35:10 -04:00
2017-08-31 08:35:09 -04:00
2017-08-31 08:35:14 -04:00
2017-08-08 14:47:18 -04:00
2017-08-31 08:35:13 -04:00
2017-08-31 08:35:14 -04:00
2017-09-22 11:52:09 -04:00