Shamir Rabinovitch 4f33dd41b2 RDMA/uverbs: Initialize uverbs_attr_bundle ucontext in ib_uverbs_get_context
ib_uverbs_get_context does not have a uobject so it does not call the
rdma_lookup_get_uobject which is used to set up the uverbs_attr_bundle
ucontext. For ib_uverbs_get_context we need to set up this manually before
we send the uverbs_attr_bundle down to the driver layer.

This completes the change that was done in commit 70f06b26f07e ("IB:
ucontext should be set properly for all cmd & ioctl paths")

Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2019-05-03 10:09:25 -03:00
..
2018-12-12 07:40:16 -07:00
2019-02-19 20:52:19 -07:00
2019-03-27 15:52:01 -03:00
2016-05-13 13:37:18 -04:00
2018-12-12 07:40:16 -07:00
2019-04-25 12:27:11 -03:00
2019-03-11 20:06:18 -07:00
2018-12-12 07:40:16 -07:00
2019-03-26 11:50:29 -03:00
2019-04-25 12:27:11 -03:00