RDMA/cxgb3: Don't post zero-byte read if endpoint is going away
authorSteve Wise <swise@opengridcomputing.com>
Fri, 13 May 2011 18:37:18 +0000 (18:37 +0000)
committerRoland Dreier <roland@purestorage.com>
Tue, 24 May 2011 17:01:04 +0000 (10:01 -0700)
tx_ack() wasn't checking the endpoint state and consequently would
attempt to post the p2p 0B read on an endpoint/QP that is closing or
aborting.  This causes a NULL pointer dereference crash.

Signed-off-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>

No differences found