diff options
author | Bart Van Assche <bart.vanassche@wdc.com> | 2018-01-16 16:14:15 -0800 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-01-18 14:49:26 -0500 |
commit | fcf589364f2a106544d79594dcf722d97528031b (patch) | |
tree | 7894077b2fc9b995506ad2b897dc7a44c1921277 /drivers/acpi/acpi_amba.c | |
parent | e28a547da6e9c6dd5ba64b978d361222db3592e7 (diff) |
IB/srpt: Don't allow reordering of commands on wait list
If a receive I/O context is removed from the wait list and
srpt_handle_new_iu() fails to allocate a send I/O context then
re-adding the receive I/O context to the wait list can cause
reordering. Avoid this by only removing a receive I/O context
from the wait list after allocating a send I/O context succeeded.
Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/acpi/acpi_amba.c')
0 files changed, 0 insertions, 0 deletions