patch-2.4.0-test12 linux/net/sunrpc/clnt.c
Next file: linux/net/sunrpc/sched.c
Previous file: linux/net/packet/af_packet.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Tue Nov 28 22:34:01 2000
- Orig file:
v2.4.0-test11/linux/net/sunrpc/clnt.c
- Orig date:
Sun Oct 8 10:50:39 2000
diff -u --recursive --new-file v2.4.0-test11/linux/net/sunrpc/clnt.c linux/net/sunrpc/clnt.c
@@ -510,7 +510,7 @@
struct rpc_clnt *clnt = task->tk_client;
struct rpc_xprt *xprt = clnt->cl_xprt;
- task->tk_action = (xprt->connected) ? call_transmit : call_reconnect;
+ task->tk_action = (xprt_connected(xprt)) ? call_transmit : call_reconnect;
if (!clnt->cl_port) {
task->tk_action = call_reconnect;
@@ -663,7 +663,7 @@
else if (!clnt->cl_port) {
task->tk_action = call_bind;
clnt->cl_stats->rpcretrans++;
- } else if (clnt->cl_xprt->stream && !clnt->cl_xprt->connected) {
+ } else if (!xprt_connected(clnt->cl_xprt)) {
task->tk_action = call_reconnect;
clnt->cl_stats->rpcretrans++;
} else {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)