pcp
[Top] [All Lists]

pcp updates: IPv6 merging

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: IPv6 merging
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 19 Feb 2013 22:12:27 -0500 (EST)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1141340275.5845223.1361329876243.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Changes committed to git://oss.sgi.com/nathans/pcp.git dev

 src/include/pcp/impl.h       |    7 +-
 src/libpcp/src/access.c      |   18 +-----
 src/libpcp/src/auxconnect.c  |  119 ++++++++++++++++++++++++++-----------------
 src/libpcp/src/internal.h    |    5 +
 src/libpcp/src/logconnect.c  |    7 --
 src/libpcp/src/nss_connect.c |   49 ++++++++++++++---
 src/libpcp_pmcd/src/client.c |   13 +---
 src/perl/PMDA/local.c        |   12 +---
 src/pmcd/src/config.c        |    7 --
 src/pmcd/src/pmcd.c          |    5 +
 src/pmdas/trace/src/client.c |   44 +++++++--------
 src/pmdas/trace/src/client.h |    2 
 src/pmdas/trace/src/comms.c  |   26 +++++----
 src/pmdas/weblog/weblog.c    |    8 ++
 src/pmlogger/ports.c         |   30 ++++------
 src/pmproxy/pmproxy.h        |    4 -
 16 files changed, 191 insertions(+), 165 deletions(-)

commit bb4714d451f4e4ddf6629f92ae5fe33ddc1bda1d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Feb 20 14:08:54 2013 +1100

    Fix a recent double-free regression in pmcd
    
    Picked up by test 243; if we do not set myAddr to null after we
    free it, there's an error path or two that will attempt to free
    it (again) during fail-case teardown.  Attempting to bind to an
    address-already-in-use is one easy way to trigger it.

commit 28119fbc6c2eb66dfbaacf2063f2b7921a95b7ef
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Wed Feb 20 11:53:58 2013 +1100

    More libpcp socket I/O API cleanup.
    
    - __pmGetHostByName and __pmGetHostByAddr replaced by __pmGetAddrInfo and
      __pmGetNameInfo respectively.
    - __pmHostEntGetName now returns a pointer to the heap which must be
      freed by the caller.
    - Update all callers.

commit fd77c8dcfd5a6018face8248fd7af6e74be9ec1d
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Tue Feb 19 14:45:56 2013 -0500

    Cleanup the native implementation of __pmSockAddr.
    
    Replace the 'family' member of the union with a member of type
    'struct sockaddr'. This can then be passed to native I/O functions
    without casting.

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: IPv6 merging, Nathan Scott <=