public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug tapsets/13702] New: sport/dport set incorrectly for tcp.recvmsg
@ 2012-02-17 17:16 dsmith at redhat dot com
  2012-02-17 17:27 ` [Bug tapsets/13702] " fche at redhat dot com
  2013-08-05 17:57 ` dsmith at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2012-02-17 17:16 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-05 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-02-17 17:16 [Bug tapsets/13702] New: sport/dport set incorrectly for tcp.recvmsg dsmith at redhat dot com
2012-02-17 17:27 ` [Bug tapsets/13702] " fche at redhat dot com
2013-08-05 17:57 ` dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).