Skip to contentSkip to conversation

police fix

PATCH New [email protected] 1 participant 1 message Nov 16, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 police fix

net/sched/police.c +1 -0
diff -uprN -X /linux/dontdiff a/net/sched/police.c b/net/sched/police.c
@@ -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