summaryrefslogtreecommitdiffstats
path: root/tapset/rpc.stp
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-03-04 15:23:39 -0500
committerSteve Dickson <steved@redhat.com>2010-03-04 15:23:39 -0500
commit3ad91d2fd524043cf62d67585952348ab4458ef1 (patch)
tree5063db5a2f4537ac70beb6b7017aeed09ee83ac9 /tapset/rpc.stp
parent35f22bd95cea2fb75573a27282f2a5edea84f2d7 (diff)
downloadsystemtap-steved-3ad91d2fd524043cf62d67585952348ab4458ef1.tar.gz
systemtap-steved-3ad91d2fd524043cf62d67585952348ab4458ef1.tar.xz
systemtap-steved-3ad91d2fd524043cf62d67585952348ab4458ef1.zip
Revert "Backport recently added probes to RHEL5(U5)"
This reverts commit 35f22bd95cea2fb75573a27282f2a5edea84f2d7 beause kernel_v kernel checks should not be used. Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'tapset/rpc.stp')
-rw-r--r--tapset/rpc.stp7
1 files changed, 1 insertions, 6 deletions
diff --git a/tapset/rpc.stp b/tapset/rpc.stp
index d8f2fadc..3e65d0ea 100644
--- a/tapset/rpc.stp
+++ b/tapset/rpc.stp
@@ -996,12 +996,7 @@ function addr_from_rqst_str:string(_rqstp:long)
unsigned char *bytes;
if (rqstp) {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
- if (rqstp->rq_addr.ss_family == AF_INET)
-#else
- if (rqstp->rq_addr.sin_family == AF_INET)
-#endif
- {
+ if (rqstp->rq_addr.ss_family == AF_INET) {
addr = (struct sockaddr_in *) &rqstp->rq_addr;
bytes = (unsigned char *)&addr->sin_addr.s_addr;