svn commit: r362456 - projects/nfs-over-tls/sys/rpc
Rick Macklem
rmacklem at FreeBSD.org
Sun Jun 21 02:47:38 UTC 2020
Author: rmacklem
Date: Sun Jun 21 02:47:37 2020
New Revision: 362456
URL: https://svnweb.freebsd.org/changeset/base/362456
Log:
Fix up a comment in clnt_vc_soupcall().
Modified:
projects/nfs-over-tls/sys/rpc/clnt_vc.c
Modified: projects/nfs-over-tls/sys/rpc/clnt_vc.c
==============================================================================
--- projects/nfs-over-tls/sys/rpc/clnt_vc.c Sun Jun 21 00:06:04 2020 (r362455)
+++ projects/nfs-over-tls/sys/rpc/clnt_vc.c Sun Jun 21 02:47:37 2020 (r362456)
@@ -1136,14 +1136,13 @@ printf("Got weird type=%d\n", tgr.tls_type);
sizeof(xid_plus_direction)) {
/*
* What to do now?
- * The TCP stream is messed up.
+ * The data in the TCP stream is
+ * corrupted such that there is no
+ * valid RPC message to parse.
* I think it best to close this
* connection and allow
- * clnt_reconnect_XXX() to try
+ * clnt_reconnect_call() to try
* and establish a new one.
- * If we just return and there is
- * no more data received, the
- * connection will be hung.
*/
printf("clnt_vc_soupcall: "
"connection data corrupted\n");
@@ -1228,6 +1227,7 @@ printf("backxprt=%p\n", xprt);
}
}
}
+
if (error != 0) {
wakeup_all:
/*
More information about the svn-src-projects
mailing list