Re: [patch NOT added to 3.12 stable tree] Don't feed anything but regular iovec's to blk_rq_map_user_iov

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

 



On Tue, Dec 13, 2016 at 7:32 AM, Jiri Slaby <jslaby@xxxxxxx> wrote:
>
> Nope, blk_rq_map_user_iov above does not even have "const struct
> iov_iter *iter" as a parameter yet. Instead, "struct sg_iovec *iov" is
> there.
>
> So maybe, the patch is not even needed. But whoever can tell me for
> sure, please do so.

The issue is that we don't wand to get there through splice() creating
an iov that has kernel addresses in it, but I don't think 3.12 can do
that anyway - it would need an explicit splice function in the file
operations.

So I think 3.12 is fine without this. Al?

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



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]