diff options
author | Tadeusz Struk <tadeusz.struk@intel.com> | 2016-04-06 11:01:54 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-04-15 22:35:45 +0800 |
commit | d6064165ba4449ea085a389724d728258a3180ec (patch) | |
tree | ae38a87001011166778e6c1fa6a437560bab8a4e /lib | |
parent | 7587c407540006e4e8fd5ed33f66ffe6158e830a (diff) |
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 'lib')
0 files changed, 0 insertions, 0 deletions