svcrdma: Fix error handling during listening endpoint creation
authorTom Tucker <tom@opengridcomputing.com>
Tue, 6 May 2008 14:45:54 +0000 (09:45 -0500)
committerTom Tucker <tom@opengridcomputing.com>
Mon, 19 May 2008 12:33:48 +0000 (07:33 -0500)
commit58e8f62137f1c55fe3d31234167660f2ce509297
tree44f5b8731574db63d76f2c7bd4122d37c1cba540
parent5ac461a6f05499fa233ea43b1de80b679d1eec21
svcrdma: Fix error handling during listening endpoint creation

A listening endpoint isn't known to the generic transport switch until
the svc_create_xprt function returns without error. Calling
svc_xprt_put within the xpo_create function causes the module reference
count to be erroneously decremented.

Signed-off-by: Tom Tucker <tom@opengridcomputing.com>
net/sunrpc/xprtrdma/svc_rdma_transport.c