[Bug tapsets/13702] New: sport/dport set incorrectly for tcp.recvmsg
dsmith at redhat dot com
sourceware-bugzilla@sourceware.org
Fri Feb 17 17:16:00 GMT 2012
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.
More information about the Systemtap
mailing list