https://github.com/torvalds/linux
Revision ad3cbf61332914711e5f506972b1dc9af8d62146 authored by Julian Wiedmann on 20 December 2017, 17:07:18 UTC, committed by David S. Miller on 20 December 2017, 20:11:49 UTC
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>
1 parent bb25c38
History
Tip revision: ad3cbf61332914711e5f506972b1dc9af8d62146 authored by Julian Wiedmann on 20 December 2017, 17:07:18 UTC
s390/qeth: fix error handling in checksum cmd callback
Tip revision: ad3cbf6
File Mode Size
Documentation
arch
block
certs
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.cocciconfig -rw-r--r-- 59 bytes
.get_maintainer.ignore -rw-r--r-- 31 bytes
.gitattributes -rw-r--r-- 30 bytes
.gitignore -rw-r--r-- 1.4 KB
.mailmap -rw-r--r-- 8.8 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 96.2 KB
Kbuild -rw-r--r-- 2.2 KB
Kconfig -rw-r--r-- 287 bytes
MAINTAINERS -rw-r--r-- 426.4 KB
Makefile -rw-r--r-- 58.3 KB
README -rw-r--r-- 722 bytes

README

back to top