commit | 686c97ee29c886ee07d17987d0059874c5c3b5af | [log] [tgz] |
---|---|---|
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | Thu Apr 19 12:52:06 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Sun Apr 22 14:42:31 2018 -0400 |
tree | eac105a5a1532c4a3dded4e9143eb4d973de5df8 | |
parent | 83beed7b2b26f232d782127792dd0cd4362fdc41 [diff] |
s390/qeth: fix error handling in adapter command callbacks Make sure to check both return code fields before(!) processing the command response. Otherwise we risk operating on invalid data. This matches an earlier fix for SETASSPARMS commands, see commit ad3cbf613329 ("s390/qeth: fix error handling in checksum cmd callback"). Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>