[PATCHSET v2 0/2] Fix splice from random/urandom

Jens Axboe posted 2 patches 3 years, 11 months ago
[PATCHSET v2 0/2] Fix splice from random/urandom
Posted by Jens Axboe 3 years, 11 months ago
Hi,

We recently had a failure on a kernel upgrade because splice no longer
works on random/urandom. This is due to:

6e2c7421f02 ("fs: don't allow splice read/write without explicit ops")

which already has more than two handful of Fixes registered to its
name...

Wire up read_iter handling and then hook up splice_read for both of
them as well.

v2: rebase on random git tree

-- 
Jens Axboe
Re: [PATCHSET v2 0/2] Fix splice from random/urandom
Posted by Jason A. Donenfeld 3 years, 11 months ago
Hi Jens,

This patchset seems to work. I'll queue it up with some cosmetic
changes. Thanks a lot.

Jason
Re: [PATCHSET v2 0/2] Fix splice from random/urandom
Posted by Jens Axboe 3 years, 11 months ago
On 5/19/22 5:56 PM, Jason A. Donenfeld wrote:
> Hi Jens,
> 
> This patchset seems to work. I'll queue it up with some cosmetic
> changes. Thanks a lot.

Great, thanks for the quick response!

-- 
Jens Axboe