summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.vnet.ibm.com>2017-12-20 18:07:18 +0100
committerDavid S. Miller <davem@davemloft.net>2017-12-20 15:11:49 -0500
commitad3cbf61332914711e5f506972b1dc9af8d62146 (patch)
tree4d2dc91ffa39b5aa9d169c39a1af3446868b5a92 /net
parentbb25c3855a12cc58e33cd7ee9b69943790fe35f7 (diff)
downloadlinux-ad3cbf61332914711e5f506972b1dc9af8d62146.tar.gz
linux-ad3cbf61332914711e5f506972b1dc9af8d62146.tar.bz2
linux-ad3cbf61332914711e5f506972b1dc9af8d62146.zip
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 'net')
0 files changed, 0 insertions, 0 deletions