summaryrefslogtreecommitdiff
path: root/arch/s390/include
diff options
context:
space:
mode:
authorJulian Wiedmann <jwi@linux.ibm.com>2020-02-06 17:52:03 +0100
committerVasily Gorbik <gor@linux.ibm.com>2020-09-14 10:30:07 +0200
commit309f98dbc66cb183a84781e2b19595f044a2d6e4 (patch)
tree17ce43c33e3083b27adf455ec78cc6b953bdd925 /arch/s390/include
parent4bf3ec384edf0bf893ec7bd62ccebb635b02efd9 (diff)
s390/qdio: make qdio_handle_aobs() more robust
When processing a PENDING buffer with no attached aob, the current code would get stuck on this buffer (as the 'continue' causes us to not advance the buffer index) and process it repeatedly until the loop terminates eventually. Luckily this should never happen - the HW must not use the PENDING state when no aob was provided. But we can still make this code path less fragile and protect against buggy devices. Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com> Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
Diffstat (limited to 'arch/s390/include')
0 files changed, 0 insertions, 0 deletions