diff options
author | 2016-04-06 11:01:54 -0700 | |
---|---|---|
committer | 2016-04-15 22:35:45 +0800 | |
commit | d6064165ba4449ea085a389724d728258a3180ec (patch) | |
tree | ae38a87001011166778e6c1fa6a437560bab8a4e /fs/ecryptfs/ecryptfs_kernel.h | |
parent | crypto: ccp - Fix RT breaking #include <linux/rwlock_types.h> (diff) | |
download | wireguard-linux-d6064165ba4449ea085a389724d728258a3180ec.tar.xz wireguard-linux-d6064165ba4449ea085a389724d728258a3180ec.zip |
crypto: qat - adf_dev_stop should not be called in atomic context
VFs call adf_dev_stop() from a PF to VF interrupt bottom half.
This causes an oops "scheduling while atomic", because it tries
to acquire a mutex to un-register crypto algorithms.
This patch fixes the issue by calling adf_dev_stop() asynchronously.
Changes in v2:
- change kthread to a work queue.
Signed-off-by: Tadeusz Struk <tadeusz.struk@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/ecryptfs/ecryptfs_kernel.h')
0 files changed, 0 insertions, 0 deletions