mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-13 07:31:07 +00:00
s390/qeth: fix error handling in checksum cmd callback
[ Upstream commitad3cbf6133] 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ff1ff3815c
commit
f38ffe325b
1 changed files with 8 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue