diff options
| author | Ard Biesheuvel <[email protected]> | 2019-11-05 16:01:02 +0200 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2019-12-11 16:36:59 +0800 |
| commit | 46d57443eca46999051946c27ec95df313f3619a (patch) | |
| tree | a3247bbd12d3579799a3287bff67a23687ccd38f /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | a9459bdcb40f6080874499a5638049c2dab821a0 (diff) | |
crypto: omap-aes-gcm - deal with memory allocation failure
The OMAP gcm(aes) driver invokes omap_crypto_align_sg() without
dealing with the errors it may return, resulting in a crash if
the routine fails in a __get_free_pages(GFP_ATOMIC) call. So
bail and return the error rather than limping on if one occurs.
Signed-off-by: Ard Biesheuvel <[email protected]>
Reviewed-by: Tero Kristo <[email protected]>
Tested-by: Tero Kristo <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions