diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-09-17 00:22:57 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-09-18 13:07:51 +0200 |
commit | e3366e0234971a09f0e16f0e6fa16f4cbae45e47 (patch) | |
tree | 642127848edd035e770c2871f8c23bfcc69a38a8 /io_uring/opdef.c | |
parent | io_uring/msg_ring: check file type before putting (diff) | |
download | linux-e3366e0234971a09f0e16f0e6fa16f4cbae45e47.tar.xz linux-e3366e0234971a09f0e16f0e6fa16f4cbae45e47.zip |
io_uring/net: fix zc fixed buf lifetime
Notifications usually outlive requests, so we need to pin buffers with
it by assigning a rsrc to it instead of the request.
Fixed: b48c312be05e8 ("io_uring/net: simplify zerocopy send user API")
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/dd6406ff8a90887f2b36ed6205dac9fda17c1f35.1663366886.git.asml.silence@gmail.com
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions