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/13702] New: sport/dport set incorrectly for tcp.recvmsg


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

             Bug #: 13702
           Summary: sport/dport set incorrectly for tcp.recvmsg
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
        AssignedTo: systemtap@sourceware.org
        ReportedBy: dsmith@redhat.com
    Classification: Unclassified


The probe alias tcp.receive returns the source and destination port numbers in
2 variables 'sport' and 'dport'.  These values are returned in host (not
network) order.

The probe alias tcp.recvmsg returns the source and destination port numbers in
2 variables 'sport' and 'dport'.  These values are returned in network (not
host) order.

It seems reasonable to always return information in host order, not network
order.

(The fix is easy enough, but it does change behavior, possibly confusing
existing scripts.)

-- 
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]