From: Steve Wise Date: Fri, 13 May 2011 18:37:18 +0000 (+0000) Subject: RDMA/cxgb3: Don't post zero-byte read if endpoint is going away X-Git-Tag: v3.0-rc1~132^2^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=807838686eb9e40d73b8a3f2384881358f51fff0;p=pandora-kernel.git RDMA/cxgb3: Don't post zero-byte read if endpoint is going away 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 Signed-off-by: Roland Dreier --- Reading git-diff-tree failed