This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/13793] New: IPv6 nfs_proc.stp tapset changes needed


http://sourceware.org/bugzilla/show_bug.cgi?id=13793

             Bug #: 13793
           Summary: IPv6 nfs_proc.stp tapset changes needed
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: dsmith@redhat.com
        Depends on: 13646
    Classification: Unclassified


The nfs_proc.stp tapset is full of probes that return 'server_ip', a binary IP
address of the server.  A typical line to generate that value looks like this:

    server_ip = __i2n_ip_proto($dir,0)

That works fine for IPv4.  That binary value can be used in comparisons, as an
array index, etc.  However, the above doesn't work for IPv6.  That function (if
it supported IPv6) would return the address of a structure that holds the IPv6
address.

Those probes should be changed to return a string representation of the IP
address, which can be compared properly for both IPv4 and IPv6.

(Bug #13646 provided the base tapset IPv6 support.)

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]