linux-bl808/drivers/infiniband/core
Shiraz Saleem 04eae42740 RDMA/iwpm: Properly mark end of NL messages
Commit 1a1c116f3d 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: 1a1c116f3d ("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
..
addr.c
agent.c
agent.h
cache.c
cgroup.c
cm.c
cm_msgs.h
cma.c
cma_configfs.c
core_priv.h
cq.c
device.c
fmr_pool.c
iwcm.c
iwcm.h
iwpm_msg.c RDMA/iwpm: Properly mark end of NL messages 2017-09-29 11:32:42 -04:00
iwpm_util.c RDMA/iwpm: Properly mark end of NL messages 2017-09-29 11:32:42 -04:00
iwpm_util.h
mad.c
mad_priv.h
mad_rmpp.c
mad_rmpp.h
Makefile
mr_pool.c
multicast.c
netlink.c
nldev.c
opa_smi.h
packer.c
rdma_core.c
rdma_core.h
roce_gid_mgmt.c
rw.c
sa.h
sa_query.c
security.c IB/core: Fix qp_sec use after free access 2017-09-25 11:47:23 -04:00
smi.c
smi.h
sysfs.c
ucm.c
ucma.c
ud_header.c
umem.c
umem_odp.c
umem_rbtree.c
user_mad.c
uverbs.h
uverbs_cmd.c
uverbs_ioctl.c
uverbs_ioctl_merge.c
uverbs_main.c
uverbs_marshall.c
uverbs_std_types.c
verbs.c