diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2020-02-06 19:52:03 +0300 |
---|---|---|
committer | Vasily Gorbik <gor@linux.ibm.com> | 2020-09-14 11:30:07 +0300 |
commit | 309f98dbc66cb183a84781e2b19595f044a2d6e4 (patch) | |
tree | 17ce43c33e3083b27adf455ec78cc6b953bdd925 /lib/rhashtable.c | |
parent | 4bf3ec384edf0bf893ec7bd62ccebb635b02efd9 (diff) | |
download | linux-309f98dbc66cb183a84781e2b19595f044a2d6e4.tar.xz |
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 'lib/rhashtable.c')
0 files changed, 0 insertions, 0 deletions