• Julian Wiedmann's avatar
    s390/qeth: cancel cmd on early error · 54daaca7
    Julian Wiedmann authored
    When sending cmds via qeth_send_control_data(), qeth puts the request
    on the IO channel and then blocks on the reply object until the response
    has been received.
    
    If the IO completes with error, there will never be a response and we
    block until the reply-wait hits its timeout. For this case, connect the
    request buffer to its reply object, so that we can immediately cancel
    the wait.
    Signed-off-by: default avatarJulian Wiedmann <jwi@linux.ibm.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    54daaca7
qeth_core_main.c 181 KB