s390/zcrypt: Improved invalid domain response handling.
authorHarald Freudenberger <freude@linux.vnet.ibm.com>
Fri, 25 Nov 2016 10:50:16 +0000 (11:50 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 14 Dec 2016 15:33:39 +0000 (16:33 +0100)
commitbf9f31190aa176c43c15cf58b60818d325e0f851
tree0314c38ed6726fafabcc304f3046796978ac2283
parentc1c1368de497648cf532e7f37a407361c70aa638
s390/zcrypt: Improved invalid domain response handling.

Add defines and switch case code to handle the two invalid
domain response codes better. Until now these two response
codes are handled via default resulting in -EAGAIN and
switching the processed queue to offline.  So this kind of
malformed request bounced through all suitable queues and
switched them off. Now this kind of malformed request is
just rejected with EINVAL without switching off the queue.

Signed-off-by: Harald Freudenberger <freude@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
drivers/s390/crypto/zcrypt_error.h