Date: Wed, 27 Oct 2010 13:10:08 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/rpc clnt_dg.c clnt_vc.c rpc_generic.c Message-ID: <201010271310.o9RDASXM055198@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
rmacklem 2010-10-27 13:10:08 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/rpc clnt_dg.c clnt_vc.c rpc_generic.c Log: SVN rev 214415 on 2010-10-27 13:10:08Z by rmacklem MFC: r213756 Fix the krpc so that it can handle NFSv3,UDP mounts with a read/write data size greater than 8192. Since soreserve(so, 256*1024, 256*1024) would always fail for the default value of sb_max, modify clnt_dg.c so that it uses the calculated values and checks for an error return from soreserve(). Also, add a check for error return from soreserve() to clnt_vc.c and change __rpc_get_t_size() to use sb_max_adj instead of the bogus maxsize == 256*1024. Revision Changes Path 1.7.2.4 +7 -1 src/sys/rpc/clnt_dg.c 1.8.2.4 +9 -3 src/sys/rpc/clnt_vc.c 1.4.2.4 +4 -3 src/sys/rpc/rpc_generic.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010271310.o9RDASXM055198>