iproute2/rdma
Leon Romanovsky f0cabaca38 rdma: Fix incorrectly handled NLA validation
mnl_attr_type_valid() receives maximum attribute type, which means that
we were supposed to supply the latest valid netlink attribute and not
the number of attributes. Such coding mistake caused to failures while
NLA attributes were extended.

Fixes: 74bd75c2b6 ("rdma: Add basic infrastructure for RDMA tool")
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
2018-12-31 22:15:13 -08:00
..
include/uapi/rdma rdma: align uapi headers with 4.20-rc5 2018-12-07 09:25:59 -08:00
.gitignore rdma: Add basic infrastructure for RDMA tool 2017-08-21 17:07:44 -07:00
Makefile iproute2: Installation errors without libmnl 2018-12-04 14:27:08 -08:00
dev.c rdma: Fix broken 32-bit compilation 2018-12-13 11:34:44 -08:00
link.c rdma: Fix representation of PortInfo CapabilityMask 2018-09-17 08:59:13 -07:00
rdma.c rdma: print driver resource attributes 2018-05-18 09:17:16 -07:00
rdma.h rdma: make local functions static 2018-11-19 11:42:44 -08:00
res.c rdma: Refresh help section of resource information 2018-11-05 08:36:36 -08:00
utils.c rdma: Fix incorrectly handled NLA validation 2018-12-31 22:15:13 -08:00