Skip to content

Fix splice from random/urandom

Jens Axboe lkml 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 5 repliesIn review
  2. v12 patches 34 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2random: convert to using fops->read_iter()drivers/char/random.c+23 -213 replies
2/2random: wire up fops->splice_read_iter()drivers/char/random.c+2 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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

Signature · 1 line
Jens Axboe