]> err.no Git - linux-2.6/commit
SVCRDMA: Add check for XPT_CLOSE in svc_rdma_send
authorTom Tucker <tom@opengridcomputing.com>
Tue, 11 Mar 2008 17:44:27 +0000 (12:44 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Wed, 23 Apr 2008 20:13:40 +0000 (16:13 -0400)
commit830bb59b6ece51c36dd456b685d145c69d3b7e1c
tree3b8e2d7318875394b561d6ce9c3ff4e3828106c2
parent9167f501c6b53492eb2566dd618ce7f55f2856d5
SVCRDMA: Add check for XPT_CLOSE in svc_rdma_send

SVCRDMA: Add check for XPT_CLOSE in svc_rdma_send

The svcrdma transport can crash if a send is waiting for an
empty SQ slot and the connection is closed due to an asynchronous error.
The crash is caused when svc_rdma_send attempts to send on a deleted
QP.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
net/sunrpc/xprtrdma/svc_rdma_transport.c