aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorRusty Russell <[email protected]>2013-03-04 23:37:08 +0000
committerRusty Russell <[email protected]>2013-03-04 23:41:41 +0000
commitf7f154f1246ccc5a0a7e9ce50932627d60a0c878 (patch)
tree136b9c7b410816bc15795f47fb808bdaca504204 /net/unix/af_unix.c
parentLinux 3.9-rc1 (diff)
downloadkernel-f7f154f1246ccc5a0a7e9ce50932627d60a0c878.tar.gz
kernel-f7f154f1246ccc5a0a7e9ce50932627d60a0c878.zip
hw_random: make buffer usable in scatterlist.
virtio_rng feeds the randomness buffer handed by the core directly into the scatterlist, since commit bb347d98079a547e80bd4722dee1de61e4dca0e8. However, if CONFIG_HW_RANDOM=m, the static buffer isn't a linear address (at least on most archs). We could fix this in virtio_rng, but it's actually far easier to just do it in the core as virtio_rng would have to allocate a buffer every time (it doesn't know how much the core will want to read). Reported-by: Aurelien Jarno <[email protected]> Tested-by: Aurelien Jarno <[email protected]> Signed-off-by: Rusty Russell <[email protected]> Cc: [email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions