diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2022-08-15 13:42:01 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-08-15 21:34:00 -0600 |
commit | 86dc8f23bb1b68262ca5db890ec7177b2d074640 (patch) | |
tree | 603ec1a221fecba1ac211d71b7a36013d86b9f7a /lib/usercopy.c | |
parent | 063604265f967e90901996a1b173fe6df582d350 (diff) |
io_uring/net: improve zc addr import error handling
We may account memory to a memcg of a request that didn't even got to
the network layer. It's not a bug as it'll be routinely cleaned up on
flush, but it might be confusing for the userspace.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/b8aae61f4c3ddc4da97c1da876bb73871f352d50.1660566179.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'lib/usercopy.c')
0 files changed, 0 insertions, 0 deletions