aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid S. Miller <davem@nuts.davemloft.net>2004-07-06 00:26:44 -0700
committerDavid S. Miller <davem@nuts.davemloft.net>2004-07-06 00:26:44 -0700
commit5326baef4d9357847db6b11788fac12bc6e514f7 (patch)
tree41093926d4f0e547f6e8592623fa925f78a9df31 /net
parent5d86a97e544a85d86153d72365597df31ae87ce8 (diff)
downloadhistory-5326baef4d9357847db6b11788fac12bc6e514f7.tar.gz
[PKT_SCHED]: Fix some missing qdisc_copy_stats() conversions.
Diffstat (limited to 'net')
-rw-r--r--net/sched/cls_fw.c3
-rw-r--r--net/sched/cls_route.c3
-rw-r--r--net/sched/cls_rsvp.h3
3 files changed, 6 insertions, 3 deletions
diff --git a/net/sched/cls_fw.c b/net/sched/cls_fw.c
index 6e0baf28e5abe1..7ce360d31bfc14 100644
--- a/net/sched/cls_fw.c
+++ b/net/sched/cls_fw.c
@@ -506,7 +506,8 @@ static int fw_dump(struct tcf_proto *tp, unsigned long fh,
#else
#ifdef CONFIG_NET_CLS_POLICE
if (f->police) {
- if (qdisc_copy_stats(skb, &f->police->stats))
+ if (qdisc_copy_stats(skb, &f->police->stats,
+ f->police->stats_lock))
goto rtattr_failure;
}
#endif
diff --git a/net/sched/cls_route.c b/net/sched/cls_route.c
index d4dada10e6ef78..c2165492a3c3b7 100644
--- a/net/sched/cls_route.c
+++ b/net/sched/cls_route.c
@@ -591,7 +591,8 @@ static int route4_dump(struct tcf_proto *tp, unsigned long fh,
rta->rta_len = skb->tail - b;
#ifdef CONFIG_NET_CLS_POLICE
if (f->police) {
- if (qdisc_copy_stats(skb, &f->police->stats))
+ if (qdisc_copy_stats(skb, &f->police->stats,
+ f->police->stats_lock))
goto rtattr_failure;
}
#endif
diff --git a/net/sched/cls_rsvp.h b/net/sched/cls_rsvp.h
index 8ebaa2787d9a45..f70fad175a6f1b 100644
--- a/net/sched/cls_rsvp.h
+++ b/net/sched/cls_rsvp.h
@@ -656,7 +656,8 @@ static int rsvp_dump(struct tcf_proto *tp, unsigned long fh,
rta->rta_len = skb->tail - b;
#ifdef CONFIG_NET_CLS_POLICE
if (f->police) {
- if (qdisc_copy_stats(skb, &f->police->stats))
+ if (qdisc_copy_stats(skb, &f->police->stats,
+ f->police->stats_lock))
goto rtattr_failure;
}
#endif