diff options
author | Vipul Pandya <vipul@chelsio.com> | 2013-01-07 13:11:56 +0000 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2013-02-14 15:51:57 -0800 |
commit | 1ec779cc29238e6f4d315bff53cd36165819bfd5 (patch) | |
tree | ee580b96f17f19ae0f1badc761cc5ef5ee2347d6 /drivers/infiniband/hw/cxgb4/iw_cxgb4.h | |
parent | e8e5b9278ba0502ada73b8b94b8498cc19def743 (diff) | |
download | lwn-1ec779cc29238e6f4d315bff53cd36165819bfd5.tar.gz lwn-1ec779cc29238e6f4d315bff53cd36165819bfd5.zip |
RDMA/cxgb4: Fix endpoint timeout race condition
The endpoint timeout logic had a race that could cause an endpoint
object to be freed while it was still on the timedout list. This
can happen if the timer is stopped after it had fired, but before
the timedout thread processed the endpoint timeout.
Signed-off-by: Vipul Pandya <vipul@chelsio.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/cxgb4/iw_cxgb4.h')
-rw-r--r-- | drivers/infiniband/hw/cxgb4/iw_cxgb4.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h index 0aaaa0e81f29..94a3b3c47a8a 100644 --- a/drivers/infiniband/hw/cxgb4/iw_cxgb4.h +++ b/drivers/infiniband/hw/cxgb4/iw_cxgb4.h @@ -716,6 +716,7 @@ enum c4iw_ep_flags { ABORT_REQ_IN_PROGRESS = 1, RELEASE_RESOURCES = 2, CLOSE_SENT = 3, + TIMEOUT = 4, QP_REFERENCED = 5, }; |