Date: Sun, 21 Jun 2020 02:47:38 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r362456 - projects/nfs-over-tls/sys/rpc Message-ID: <202006210247.05L2lcV1061237@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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: /*
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006210247.05L2lcV1061237>