Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jan 2011 21:35:10 +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 svc_vc.c
Message-ID:  <201101102135.p0ALZSTN007452@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2011-01-10 21:35:10 UTC

  FreeBSD src repository

  Modified files:
    sys/rpc              clnt_dg.c clnt_vc.c svc_vc.c 
  Log:
  SVN rev 217242 on 2011-01-10 21:35:10Z by rmacklem
  
  Fix a bug in the client side krpc where it was, sometimes
  erroneously, assumed that 4 bytes of data were in the first
  mbuf of a list by replacing the bcopy() with m_copydata().
  Also, replace the uses of m_pullup(), which can fail for
  reasons other than not enough data, with m_copydata().
  For the cases where it isn't known that there is enough
  data in the mbuf list, check first via m_len and m_length().
  This is believed to fix a problem reported by dpd at dpdtech.com
  and george+freebsd at m5p.com.
  
  Reviewed by:    jhb
  MFC after:      8 days
  
  Revision  Changes    Path
  1.11      +3 -4      src/sys/rpc/clnt_dg.c
  1.12      +5 -8      src/sys/rpc/clnt_vc.c
  1.11      +2 -5      src/sys/rpc/svc_vc.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101102135.p0ALZSTN007452>