RDMA/cxgb4: Fix endpoint timeout race condition
authorVipul Pandya <vipul@chelsio.com>
Mon, 7 Jan 2013 13:11:56 +0000 (13:11 +0000)
committerRoland Dreier <roland@purestorage.com>
Thu, 14 Feb 2013 23:51:57 +0000 (15:51 -0800)
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>

No differences found