From e914a5c41afc9d7eb22835080ffbdc2c7c338e64 Mon Sep 17 00:00:00 2001 From: "osdl.net!shemminger" Date: Wed, 29 Sep 2004 18:35:48 +0000 Subject: [PATCH] reqs was rejected by kernel due to possible API breakage. (Logical change 1.91) --- include/linux/pkt_sched.h | 1 - tc/tc_qdisc.c | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/include/linux/pkt_sched.h b/include/linux/pkt_sched.h index b6c6c831..b80dbc3b 100644 --- a/include/linux/pkt_sched.h +++ b/include/linux/pkt_sched.h @@ -38,7 +38,6 @@ struct tc_stats __u32 pps; /* Current flow packet rate */ __u32 qlen; __u32 backlog; - __u32 reqs; }; struct tc_estimator diff --git a/tc/tc_qdisc.c b/tc/tc_qdisc.c index 7fac569e..6cf08d87 100644 --- a/tc/tc_qdisc.c +++ b/tc/tc_qdisc.c @@ -177,9 +177,9 @@ void print_tcstats_attr(FILE *fp, const struct rtattr *rta) memset(&st, 0, sizeof(st)); memcpy(&st, RTA_DATA(rta), MIN(RTA_PAYLOAD(rta), sizeof(st))); - fprintf(fp, " Sent %llu bytes %u pkts (dropped %u, overlimits %u requeues %u) ", + fprintf(fp, " Sent %llu bytes %u pkts (dropped %u, overlimits %u) ", (unsigned long long)st.bytes, st.packets, st.drops, - st.overlimits, st.reqs); + st.overlimits); if (st.bps || st.pps || st.qlen || st.backlog) { fprintf(fp, "\n ");