From owner-svn-src-projects@freebsd.org Sun Jun 21 02:47:38 2020 Return-Path: Delivered-To: svn-src-projects@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7D3AB33DBA3 for ; Sun, 21 Jun 2020 02:47:38 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49qH5Q2jW1z4GWT; Sun, 21 Jun 2020 02:47:38 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 584EF1680D; Sun, 21 Jun 2020 02:47:38 +0000 (UTC) (envelope-from rmacklem@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 05L2lcMt061238; Sun, 21 Jun 2020 02:47:38 GMT (envelope-from rmacklem@FreeBSD.org) Received: (from rmacklem@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 05L2lcV1061237; Sun, 21 Jun 2020 02:47:38 GMT (envelope-from rmacklem@FreeBSD.org) Message-Id: <202006210247.05L2lcV1061237@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: rmacklem set sender to rmacklem@FreeBSD.org using -f From: Rick Macklem Date: Sun, 21 Jun 2020 02:47:38 +0000 (UTC) To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: svn commit: r362456 - projects/nfs-over-tls/sys/rpc X-SVN-Group: projects X-SVN-Commit-Author: rmacklem X-SVN-Commit-Paths: projects/nfs-over-tls/sys/rpc X-SVN-Commit-Revision: 362456 X-SVN-Commit-Repository: base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Jun 2020 02:47:38 -0000 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: /*