Commit 5326baef authored by David S. Miller's avatar David S. Miller

[PKT_SCHED]: Fix some missing qdisc_copy_stats() conversions.

parent 5d86a97e
...@@ -506,7 +506,8 @@ static int fw_dump(struct tcf_proto *tp, unsigned long fh, ...@@ -506,7 +506,8 @@ static int fw_dump(struct tcf_proto *tp, unsigned long fh,
#else #else
#ifdef CONFIG_NET_CLS_POLICE #ifdef CONFIG_NET_CLS_POLICE
if (f->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; goto rtattr_failure;
} }
#endif #endif
......
...@@ -591,7 +591,8 @@ static int route4_dump(struct tcf_proto *tp, unsigned long fh, ...@@ -591,7 +591,8 @@ static int route4_dump(struct tcf_proto *tp, unsigned long fh,
rta->rta_len = skb->tail - b; rta->rta_len = skb->tail - b;
#ifdef CONFIG_NET_CLS_POLICE #ifdef CONFIG_NET_CLS_POLICE
if (f->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; goto rtattr_failure;
} }
#endif #endif
......
...@@ -656,7 +656,8 @@ static int rsvp_dump(struct tcf_proto *tp, unsigned long fh, ...@@ -656,7 +656,8 @@ static int rsvp_dump(struct tcf_proto *tp, unsigned long fh,
rta->rta_len = skb->tail - b; rta->rta_len = skb->tail - b;
#ifdef CONFIG_NET_CLS_POLICE #ifdef CONFIG_NET_CLS_POLICE
if (f->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; goto rtattr_failure;
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment