SUNRPC: Clear xpt_bc_xprt if xs_setup_bc_tcp failed
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 24 Mar 2014 04:00:28 +0000 (12:00 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Sun, 30 Mar 2014 14:47:37 +0000 (10:47 -0400)
commit642aab58db209da990dc11b966933afc622ac4c5
treeff442269c9a6865547edf511715e58a53d5402e3
parentd531c008d7d9713456abe3d265fc577bba2e1cef
SUNRPC: Clear xpt_bc_xprt if xs_setup_bc_tcp failed

Don't move the assign of args->bc_xprt->xpt_bc_xprt out of xs_setup_bc_tcp,
because rpc_ping (which is in rpc_create) will using it.

Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
net/sunrpc/xprtsock.c