Re: [PATCH rdma-next] RDMA/uverbs: Propagate errors from rdma_lookup_get_uobject()

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

 



On Thu, Feb 20, 2025 at 09:53:52AM -0400, Jason Gunthorpe wrote:
> On Thu, Feb 20, 2025 at 11:06:52AM +0200, Leon Romanovsky wrote:
> > > Mainly -EBUSY from FW command interface, so users can safely call again
> > > to modify QP.
> > 
> > Forget about this comment, I was distracted, and it is -EBUSY from
> > uverbs_try_lock_object() and not from FW command interface.
> 
> Userspace is doing something really wrong if it is triggering that..

And right now, userspace isn't aware of it. Users will be aware of it, after
we will return real error code and not mask everything under same -EINVAL.

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