RDMA/uverbs: Use the iterator for ib_uverbs_unmarshall_recv()
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 25 Nov 2018 18:58:43 +0000 (20:58 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 3 Dec 2018 17:01:58 +0000 (12:01 -0500)
commitc3bea3d2dc5358e05541527283279102383b0231
tree06b92efb71baa8d21217eca69618dffb3e1ad841
parent335708c751c1462b674892212e965fdde4c9b0d9
RDMA/uverbs: Use the iterator for ib_uverbs_unmarshall_recv()

This has a very complicated memory layout, with two flex arrays. Use
the iterator API to make reading it clearer.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_cmd.c