linux-stable/drivers/s390
Julian Wiedmann ad3cbf6133 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: c9475369bd ("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>
2017-12-20 15:11:49 -05:00
..
block s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
char s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
cio s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
crypto s390: crypto: Remove redundant license text 2017-11-24 14:28:46 +01:00
net s390/qeth: fix error handling in checksum cmd callback 2017-12-20 15:11:49 -05:00
scsi s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00
virtio s390: drivers: Remove redundant license text 2017-11-24 14:28:47 +01:00
Makefile s390: add a few more SPDX identifiers 2017-12-05 07:51:09 +01:00