linux/drivers/staging/ccree
Gilad Ben-Yossef 2f7caf6b02 staging: ccree: check DMA pool buf !NULL before free
If we ran out of DMA pool buffers, we get into the unmap
code path with a NULL before. Deal with this by checking
the virtual mapping is not NULL.

Cc: stable@vger.kernel.org
Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-01-08 16:27:23 +01:00
..
cc_crypto_ctx.h staging: ccree: fold reg common defines into driver 2018-01-08 16:27:22 +01:00
cc_debugfs.c staging: ccree: tag debugfs init/exit func properly 2018-01-08 16:27:22 +01:00
cc_debugfs.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
cc_hw_queue_defs.h staging: ccree: fold hash defs into queue defs 2018-01-08 16:27:22 +01:00
cc_lli_defs.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
dx_crys_kernel.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
dx_host.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
Kconfig staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
Makefile staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_aead.c staging: ccree: add backlog processing 2018-01-08 16:27:22 +01:00
ssi_aead.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_buffer_mgr.c staging: ccree: check DMA pool buf !NULL before free 2018-01-08 16:27:23 +01:00
ssi_buffer_mgr.h staging: ccree: pick alloc mem flags based on req flags 2018-01-08 16:27:22 +01:00
ssi_cipher.c staging: ccree: add backlog processing 2018-01-08 16:27:22 +01:00
ssi_cipher.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_driver.c staging: ccree: copy larval digest from RAM 2018-01-08 16:27:22 +01:00
ssi_driver.h staging: ccree: add backlog processing 2018-01-08 16:27:22 +01:00
ssi_fips.c staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_fips.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_hash.c stating: ccree: revert "staging: ccree: fix leak of import() after init()" 2018-01-08 16:27:23 +01:00
ssi_hash.h staging: ccree: copy larval digest from RAM 2018-01-08 16:27:22 +01:00
ssi_ivgen.c staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_ivgen.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_pm.c staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_pm.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_request_mgr.c staging: ccree: failing the suspend is not an error 2018-01-08 16:27:23 +01:00
ssi_request_mgr.h staging: ccree: break send_request and fix ret val 2018-01-08 16:27:22 +01:00
ssi_sram_mgr.c staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
ssi_sram_mgr.h staging: ccree: SPDXify driver 2018-01-08 16:26:15 +01:00
TODO staging: ccree: update TODO 2017-12-19 15:15:54 +01:00