diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-08-05 13:00:44 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-08-06 07:39:29 -0600 |
commit | f74441e6311a28f0ee89b9c8e296a33730f812fc (patch) | |
tree | 846cf9599ec0879766b0c5578f4344ca7b8568c3 /net | |
parent | bd74048108c179cea0ff52979506164c80f29da7 (diff) | |
download | linux-stable-f74441e6311a28f0ee89b9c8e296a33730f812fc.tar.gz linux-stable-f74441e6311a28f0ee89b9c8e296a33730f812fc.tar.bz2 linux-stable-f74441e6311a28f0ee89b9c8e296a33730f812fc.zip |
io_uring: account locked memory before potential error case
The tear down path will always unaccount the memory, so ensure that we
have accounted it before hitting any of them.
Reported-by: Tomáš Chaloupka <chalucha@gmail.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions