qat: fix null pointer dereferencing
authorDeepak Kumar Jain <deepak.k.jain@intel.com>
Wed, 18 May 2016 16:12:38 +0000 (17:12 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 7 Jun 2016 14:40:26 +0000 (16:40 +0200)
commit61d124fd4607058294a0fe617759428afdedb909
tree41422f82554e1562984d164d8898fee64b27a6c5
parentedddb7f382b3080972680f5a411a6bbba57fdc92
qat: fix null pointer dereferencing

Fix null pointer dereferencing while clearing session

Coverity issue: 126586
Fixes: 1703e94ac5ce ("qat: add driver for QuickAssist devices")

Signed-off-by: Deepak Kumar Jain <deepak.k.jain@intel.com>
drivers/crypto/qat/qat_crypto.c