Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2010 00:57:14 +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:  <201010130057.o9D0vPuD066040@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2010-10-13 00:57:14 UTC

  FreeBSD src repository

  Modified files:
    sys/rpc              clnt_dg.c clnt_vc.c rpc_generic.c 
  Log:
  SVN rev 213756 on 2010-10-13 00:57:14Z by rmacklem
  
  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.
  
  PR:             kern/150910
  Reviewed by:    jhb
  MFC after:      2 weeks
  
  Revision  Changes    Path
  1.10      +7 -1      src/sys/rpc/clnt_dg.c
  1.11      +9 -3      src/sys/rpc/clnt_vc.c
  1.7       +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?201010130057.o9D0vPuD066040>