Messages in this thread Patch in this message | | | Date | Tue, 16 Nov 2004 18:17:08 +0100 (MET) | From | <> | Subject | [PATCH] police fix |
| |
diff -uprN -X /linux/dontdiff a/net/sched/police.c b/net/sched/police.c --- a/net/sched/police.c 2004-11-15 20:02:25.000000000 +0100 +++ b/net/sched/police.c 2004-11-16 18:14:25.000000000 +0100 @@ -576,6 +576,7 @@ int tcf_police_dump_stats(struct sk_buff if (gnet_stats_start_copy_compat(skb, TCA_STATS2, TCA_STATS, TCA_XSTATS, p->stats_lock, &d) < 0) + goto errout; if (gnet_stats_copy_basic(&d, &p->bstats) < 0 || #ifdef CONFIG_NET_ESTIMATOR - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |