This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/13702] New: sport/dport set incorrectly for tcp.recvmsg
- From: "dsmith at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 17 Feb 2012 17:15:41 +0000
- Subject: [Bug tapsets/13702] New: sport/dport set incorrectly for tcp.recvmsg
- Auto-submitted: auto-generated
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.