diff options
author | Hannes Reinecke <hare@kernel.org> | 2024-07-22 14:02:20 +0200 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-08-22 13:25:07 -0700 |
commit | 5bc46b49c828a6dfaab80b71ecb63fe76a1096d2 (patch) | |
tree | 44332206668acf252198d641f849573cfb3cae0a /rust/helpers/workqueue.c | |
parent | 363895767fbfa05891b0b4d9e06ebde7a10c6a07 (diff) |
nvme-tcp: check for invalidated or revoked key
key_lookup() will always return a key, even if that key is revoked
or invalidated. So check for invalid keys before continuing.
Signed-off-by: Hannes Reinecke <hare@kernel.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'rust/helpers/workqueue.c')
0 files changed, 0 insertions, 0 deletions