diff options
author | Julian Wiedmann <jwi@linux.vnet.ibm.com> | 2018-04-19 12:52:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-22 14:42:31 -0400 |
commit | 686c97ee29c886ee07d17987d0059874c5c3b5af (patch) | |
tree | eac105a5a1532c4a3dded4e9143eb4d973de5df8 /mm/usercopy.c | |
parent | 83beed7b2b26f232d782127792dd0cd4362fdc41 (diff) |
s390/qeth: fix error handling in adapter command callbacks
Make sure to check both return code fields before(!) processing the
command response. Otherwise we risk operating on invalid data.
This matches an earlier fix for SETASSPARMS commands, see
commit ad3cbf613329 ("s390/qeth: fix error handling in checksum cmd callback").
Signed-off-by: Julian Wiedmann <jwi@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/usercopy.c')
0 files changed, 0 insertions, 0 deletions