crypto/dpaa_sec: add check for session validity
authorHemant Agrawal <hemant.agrawal@nxp.com>
Wed, 6 Nov 2019 05:17:21 +0000 (10:47 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Fri, 8 Nov 2019 12:51:16 +0000 (13:51 +0100)
commite1e52232b57eb4a6e052a48d734be9d9830c0e33
treee05779cf749905f8cfc5918e02c03f3a75419e87
parent447a5d4029b363481ee7c930a4b8c68f1a36cec6
crypto/dpaa_sec: add check for session validity

Check if the session is not null during processing.

Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
drivers/crypto/dpaa_sec/dpaa_sec.c