Re: [PATCH] IB/uverbs: Delete type and id from uverbs_obj_attr

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

 



On Wed, Jun 20, 2018 at 03:47:11PM -0600, Jason Gunthorpe wrote:
> In this context the uobject is not allowed to be NULL, so type
> is the same as uobject->type, and at least for IDR, id is the same as
> uobject->id.
> 
> FD objects should never handle the FD number outside the uAPI boundary
> code.
> 
> Suggested-by: Guy Levi <guyle@xxxxxxxxxxxx>
> Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxxxx>
> ---
>  drivers/infiniband/core/uverbs_ioctl.c | 6 ++----
>  include/rdma/uverbs_ioctl.h            | 4 ----
>  2 files changed, 2 insertions(+), 8 deletions(-)

Applied to for-next

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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