From owner-cvs-all@FreeBSD.ORG Tue Jul 24 13:06:09 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 64AC116A418; Tue, 24 Jul 2007 13:06:09 +0000 (UTC) (envelope-from simon@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 37B1A13C45D; Tue, 24 Jul 2007 13:06:09 +0000 (UTC) (envelope-from simon@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 l6OD69vB042450; Tue, 24 Jul 2007 13:06:09 GMT (envelope-from simon@repoman.freebsd.org) Received: (from simon@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6OD69tW042449; Tue, 24 Jul 2007 13:06:09 GMT (envelope-from simon) Message-Id: <200707241306.l6OD69tW042449@repoman.freebsd.org> From: "Simon L. Nielsen" Date: Tue, 24 Jul 2007 13:06:08 +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/yp yplib.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Jul 2007 13:06:09 -0000 simon 2007-07-24 13:06:08 UTC FreeBSD src repository Modified files: lib/libc/yp yplib.c Log: Set timeout for all NIS RPC requests to 1 second and not just for yp_next as revision 1.50 did. This should fix, or at least very much reduce the risk of, NIS timing out due to UDP packet loss for NIS functions. See also revision 1.50 for more details about the general problem. Tested by: nosedive, freefall, hub, mx1, brooks MFC after: 1 week Approved by: re (mux) Revision Changes Path 1.51 +8 -8 src/lib/libc/yp/yplib.c