Re: [PATCH] ublk_drv: update iod->addr for UBLK_IO_NEED_GET_DATA

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

 



On Wed, 10 Aug 2022 13:52:12 +0800, ZiyangZhang wrote:
> If ublksrv sends UBLK_IO_NEED_GET_DATA with new allocated io buffer, we
> have to update iod->addr in task_work before calling io_uring_cmd_done().
> Then usersapce target can handle (write)io request with the new io
> buffer reading from updated iod.
> 
> Without this change, userspace target may touch a wrong io buffer!
> 
> [...]

Applied, thanks!

[1/1] ublk_drv: update iod->addr for UBLK_IO_NEED_GET_DATA
      commit: 92cb6e2e5dbaea02c2fa317f3543c8918db25e89

Best regards,
-- 
Jens Axboe





[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux