Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2011 01:20:15 +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:  <201101180120.p0I1KXww074035@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rmacklem    2011-01-18 01:20:15 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_8)
    sys/rpc              clnt_dg.c clnt_vc.c svc_vc.c 
  Log:
  SVN rev 217527 on 2011-01-18 01:20:15Z by rmacklem
  
  MFC: r217242
  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.
  
  Revision  Changes    Path
  1.7.2.5   +3 -4      src/sys/rpc/clnt_dg.c
  1.8.2.5   +5 -8      src/sys/rpc/clnt_vc.c
  1.9.2.3   +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?201101180120.p0I1KXww074035>