From owner-cvs-src@FreeBSD.ORG Sun Mar 30 09:36:18 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1B0261065671; Sun, 30 Mar 2008 09:36:18 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id EEF2E8FC16; Sun, 30 Mar 2008 09:36:17 +0000 (UTC) (envelope-from dfr@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m2U9aHDE056554; Sun, 30 Mar 2008 09:36:17 GMT (envelope-from dfr@repoman.freebsd.org) Received: (from dfr@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m2U9aHqN056553; Sun, 30 Mar 2008 09:36:17 GMT (envelope-from dfr) Message-Id: <200803300936.m2U9aHqN056553@repoman.freebsd.org> From: Doug Rabson Date: Sun, 30 Mar 2008 09:36:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/lib/libc/rpc svc_vc.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Mar 2008 09:36:18 -0000 dfr 2008-03-30 09:36:17 UTC FreeBSD src repository Modified files: lib/libc/rpc svc_vc.c Log: Don't call xdrrec_skiprecord in the non-blocking case. If __xdrrec_getrec has returned TRUE, then we have a complete request in the buffer - calling xdrrec_skiprecord is not necessary. In particular, if there is another record already buffered on the stream, xdrrec_skiprecord will discard both this request and the next one, causing the call to xdr_callmsg to fail and the stream to be closed. Sponsored by: Isilon Systems Revision Changes Path 1.27 +2 -1 src/lib/libc/rpc/svc_vc.c