[PATCH 0/3] Fix blk-crypto keyslot race condition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This series fixes a race condition in blk-crypto keyslot management and
makes some related cleanups.  It replaces
"[PATCH] blk-crypto: make blk_crypto_evict_key() always try to evict"
(https://lore.kernel.org/r/20230226203816.207449-1-ebiggers@xxxxxxxxxx),
which was a simpler fix but didn't fix the keyslot reference counting to
work as expected.

Eric Biggers (3):
  blk-mq: release crypto keyslot before reporting I/O complete
  blk-crypto: make blk_crypto_evict_key() more robust
  blk-crypto: remove blk_crypto_insert_cloned_request()

 Documentation/block/inline-encryption.rst |  3 +-
 block/blk-crypto-internal.h               | 28 +++++--------
 block/blk-crypto-profile.c                | 50 +++++++++--------------
 block/blk-crypto.c                        | 47 +++++++++++----------
 block/blk-mq.c                            | 17 +++++++-
 5 files changed, 71 insertions(+), 74 deletions(-)


base-commit: 2eb29d59ddf02e39774abfb60b2030b0b7e27c1f
-- 
2.39.2




[Index of Archives]     [linux Cryptography]     [Asterisk App Development]     [PJ SIP]     [Gnu Gatekeeper]     [IETF Sipping]     [Info Cyrus]     [ALSA User]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite News]     [Deep Creek Hot Springs]     [Yosemite Campsites]     [ISDN Cause Codes]

  Powered by Linux