diff options
author | Steve Wise | 2016-07-29 17:38:44 +0200 |
---|---|---|
committer | Doug Ledford | 2016-08-02 19:15:17 +0200 |
commit | 12eb5137edecfd8fb6d23dacec2a3630e729736f (patch) | |
tree | 0b297072f4f3c2378cf552fbfefc768075dcabd0 /drivers/infiniband/hw/cxgb4/qp.c | |
parent | IB/core: Add flow control to the portmapper netlink calls (diff) | |
download | kernel-qcow2-linux-12eb5137edecfd8fb6d23dacec2a3630e729736f.tar.gz kernel-qcow2-linux-12eb5137edecfd8fb6d23dacec2a3630e729736f.tar.xz kernel-qcow2-linux-12eb5137edecfd8fb6d23dacec2a3630e729736f.zip |
iw_cxgb4: stop MPA_REPLY timer when disconnecting
There exists a race where the application can setup a connection
and then disconnect it before iw_cxgb4 processes the fw4_ack
message. For passive side connections, the fw4_ack message is
used to know when to stop the ep timer for MPA_REPLY messages.
If the application disconnects before the fw4_ack is handled then
c4iw_ep_disconnect() needs to clean up the timer state and stop the
timer before restarting it for the disconnect timer. Failure to do this
results in a "timer already started" message and a premature stopping
of the disconnect timer.
Fixes: e4b76a2 ("RDMA/iw_cxgb4: stop_ep_timer() after MPA negotiation")
Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/qp.c')
0 files changed, 0 insertions, 0 deletions