You need to modify dup_iter() also. That will go through the: return new->iov = kmemdup(new->iov, new->nr_segs * sizeof(struct iovec), flags); case with a ubuf-class iterators, which will clobber new->ubuf. David
You need to modify dup_iter() also. That will go through the: return new->iov = kmemdup(new->iov, new->nr_segs * sizeof(struct iovec), flags); case with a ubuf-class iterators, which will clobber new->ubuf. David