diff options
| author | LABBE Corentin <[email protected]> | 2015-09-09 12:27:07 +0000 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2015-09-10 09:22:55 +0000 |
| commit | 9da75de030bb6e49475ef37c8495d07e98cfeb33 (patch) | |
| tree | 728713e8fbfe7790c480e663fab64d6ce4b9af7b /drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c | |
| parent | crypto: vmx - VMX crypto should depend on CONFIG_VSX (diff) | |
| download | kernel-9da75de030bb6e49475ef37c8495d07e98cfeb33.tar.gz kernel-9da75de030bb6e49475ef37c8495d07e98cfeb33.zip | |
crypto: sunxi-ss - Fix a possible driver hang with ciphers
The sun4i_ss_opti_poll function cipher data until the output miter have
a length of 0.
If the crypto API client, give more SGs than necessary this could result
in an infinite loop.
Fix it by checking for remaining bytes, just like sun4i_ss_cipher_poll().
Signed-off-by: LABBE Corentin <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sync.c')
0 files changed, 0 insertions, 0 deletions
