mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] police fix
@ 2004-11-16 17:17 Andries.Brouwer
  0 siblings, 0 replies; only message in thread
From: Andries.Brouwer @ 2004-11-16 17:17 UTC (permalink / raw)
  To: akpm, linux-net, torvalds; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-11-16 17:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-11-16 17:17 [PATCH] police fix Andries.Brouwer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®