summaryrefslogtreecommitdiff
path: root/lib/crypto/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorNivas Varadharajan Mugunthakumar <nivasx.varadharajan.mugunthakumar@intel.com>2024-06-25 17:38:50 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2024-07-06 03:20:00 +0300
commit6424da7d8b938fe66e7e771eaa949bc7b6c29c00 (patch)
tree4c18a39d2ed1faf14fbf8d1182ee75c0ef119353 /lib/crypto/mpi/mpi-bit.c
parentd26cb4f53dab654d337595cd247e6c435b571ca7 (diff)
downloadlinux-6424da7d8b938fe66e7e771eaa949bc7b6c29c00.tar.xz
crypto: qat - extend scope of lock in adf_cfg_add_key_value_param()
The function adf_cfg_add_key_value_param() attempts to access and modify the key value store of the driver without locking. Extend the scope of cfg->lock to avoid a potential race condition. Fixes: 92bf269fbfe9 ("crypto: qat - change behaviour of adf_cfg_add_key_value_param()") Signed-off-by: Nivas Varadharajan Mugunthakumar <nivasx.varadharajan.mugunthakumar@intel.com> Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions