diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2017-12-20 18:07:18 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-20 15:11:49 -0500 |
commit | ad3cbf61332914711e5f506972b1dc9af8d62146 (patch) | |
tree | 4d2dc91ffa39b5aa9d169c39a1af3446868b5a92 /drivers/s390/scsi | |
parent | bb25c3855a12cc58e33cd7ee9b69943790fe35f7 (diff) | |
download | linux-ad3cbf61332914711e5f506972b1dc9af8d62146.tar.bz2 |
s390/qeth: fix error handling in checksum cmd callback
Make sure to check both return code fields before processing the
response. Otherwise we risk operating on invalid data.
Fixes: c9475369bd2b ("s390/qeth: rework RX/TX checksum offload")
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/s390/scsi')
0 files changed, 0 insertions, 0 deletions