crypto/dpaa_sec: do not attach session for non-matching qp
authorAkhil Goyal <akhil.goyal@nxp.com>
Thu, 30 Aug 2018 05:50:59 +0000 (11:20 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Wed, 26 Sep 2018 11:18:38 +0000 (13:18 +0200)
commit9198b2c227c11faaaccfd38bc28b6656705e1401
tree7c666c9b9cb7c89c170d14002f1c67961315839a
parent3b617ee775b7383c019539e4a91e885f00432cd4
crypto/dpaa_sec: do not attach session for non-matching qp

if session->qp != qp to be enqueued, it should show an error and
not try to re-attach another qp.

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