Commit 5fc1b9f8 authored by David S. Miller's avatar David S. Miller

[PKT_SCHED]: Another missed qdisc_copy_stats() conversion.

parent 104b0567
...@@ -842,7 +842,8 @@ static int u32_dump(struct tcf_proto *tp, unsigned long fh, ...@@ -842,7 +842,8 @@ static int u32_dump(struct tcf_proto *tp, unsigned long fh,
#else #else
#ifdef CONFIG_NET_CLS_POLICE #ifdef CONFIG_NET_CLS_POLICE
if (TC_U32_KEY(n->handle) && n->police) { if (TC_U32_KEY(n->handle) && n->police) {
if (qdisc_copy_stats(skb,&n->police->stats)) if (qdisc_copy_stats(skb, &n->police->stats,
n->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