[PATCH] police fix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux