aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorDylan Yudaken <[email protected]>2023-11-06 20:39:08 +0000
committerJens Axboe <[email protected]>2023-11-06 13:41:58 -0700
commit49fbe99486786661994a55ced855c31d966bbdf0 (patch)
treeafc9be74a69101baa1d1601936c5e67ec7a22b28 /net/unix/sysctl_net_unix.c
parent89d528ba2f8281de61163c6b62e598b64d832175 (diff)
io_uring: do not allow multishot read to set addr or len
For addr: this field is not used, since buffer select is forced. But by forcing it to be zero it leaves open future uses of the field. len is actually usable, you could imagine that you want to receive multishot up to a certain length. However right now this is not how it is implemented, and it seems safer to force this to be zero. Fixes: fc68fcda0491 ("io_uring/rw: add support for IORING_OP_READ_MULTISHOT") Signed-off-by: Dylan Yudaken <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions