IB: Pass uverbs_attr_bundle down ib_x destroy path
The uverbs_attr_bundle with the ucontext is sent down to the drivers ib_x destroy path as ib_udata. The next patch will use the ib_udata to free the drivers destroy path from the dependency in 'uobject->context' as we already did for the create path. Signed-off-by: Shamir Rabinovitch <shamir.rabinovitch@oracle.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
This commit is contained in:

committed by
Jason Gunthorpe

parent
a6a3797df2
commit
c4367a2635
@@ -93,10 +93,11 @@ bail:
|
||||
/**
|
||||
* rvt_dealloc_pd - Free PD
|
||||
* @ibpd: Free up PD
|
||||
* @udata: Valid user data or NULL for kernel object
|
||||
*
|
||||
* Return: always 0
|
||||
*/
|
||||
void rvt_dealloc_pd(struct ib_pd *ibpd)
|
||||
void rvt_dealloc_pd(struct ib_pd *ibpd, struct ib_udata *udata)
|
||||
{
|
||||
struct rvt_dev_info *dev = ib_to_rvt(ibpd->device);
|
||||
|
||||
|
Reference in New Issue
Block a user