summaryrefslogtreecommitdiff
path: root/crypto/hmac.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-07-01 08:46:25 -0600
committerJens Axboe <axboe@kernel.dk>2024-07-01 09:10:59 -0600
commitbe4f5d9c992ba1d89ce63ad9e40a99f120882038 (patch)
tree504a0290a3b554741382b99b8eeb2adf5069899b /crypto/hmac.c
parentb0727b1243cd084260e47c51c7950020bfddb636 (diff)
io_uring/msg_ring: use kmem_cache_free() to free request
The change adding caching around the request allocated and freed for data messages changed a kmem_cache_free() to a kfree(), which isn't correct as the request came from slab in the first place. Fix that up and use the right freeing function if the cache is already at its limit. Note that the current mixing of kmem_cache_alloc and kfree is fine, but consistent alloc/free functions should be used as it's otherwise somewhat confusing. Fixes: 50cf5f3842af ("io_uring/msg_ring: add an alloc cache for io_kiocb entries") Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'crypto/hmac.c')
0 files changed, 0 insertions, 0 deletions