Re: [PATCH for-next v1 1/4] RDMA/uverbs: initialize uverbs_attr_bundle ucontext in ib_uverbs_get_context

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Apr 30, 2019 at 05:23:21PM +0300, Shamir Rabinovitch wrote:
> ib_uverbs_get_context does not have 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 complete the change that was done in
> ("70f06b26f07e IB: ucontext should be set properly for all cmd & ioctl paths")
> 
> Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@xxxxxxxxxx>
> ---
>  drivers/infiniband/core/uverbs_cmd.c | 2 ++
>  1 file changed, 2 insertions(+)

Applied to for-next

Thanks,
Jason




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux