> From: Steve Sistare <steven.sistare@xxxxxxxxxx> > Sent: Saturday, December 17, 2022 2:51 AM > > +static int vfio_change_dma_owner(struct vfio_dma *dma) > +{ > + int ret = 0; > + struct task_struct *task = current->group_leader; > + struct mm_struct *mm = current->mm; > + > + if (task->mm != dma->mm) { if (mm != dma->mm) { ... with that fixed: Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>