Date: Mon, 23 Sep 2019 07:23:29 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r352616 - stable/11/lib/libc/yp Message-ID: <201909230723.x8N7NTTD071761@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kib Date: Mon Sep 23 07:23:29 2019 New Revision: 352616 URL: https://svnweb.freebsd.org/changeset/base/352616 Log: MFC r352384: Increase the size of the send and receive buffers for YP client rpc calls to max allowed UDP datagram size. Sponsored by: Mellanox Technologies Modified: stable/11/lib/libc/yp/yplib.c Directory Properties: stable/11/ (props changed) Modified: stable/11/lib/libc/yp/yplib.c ============================================================================== --- stable/11/lib/libc/yp/yplib.c Mon Sep 23 07:22:22 2019 (r352615) +++ stable/11/lib/libc/yp/yplib.c Mon Sep 23 07:23:29 2019 (r352616) @@ -524,7 +524,7 @@ gotit: tv.tv_usec = 0; ysd->dom_socket = RPC_ANYSOCK; ysd->dom_client = clntudp_bufcreate(&ysd->dom_server_addr, - YPPROG, YPVERS, tv, &ysd->dom_socket, 1280, 2304); + YPPROG, YPVERS, tv, &ysd->dom_socket, 65507, 65507); if (ysd->dom_client == NULL) { clnt_pcreateerror("clntudp_create"); ysd->dom_vers = -1;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909230723.x8N7NTTD071761>