patch-2.3.39 linux/net/ipv6/route.c
Next file: linux/net/ipv6/tcp_ipv6.c
Previous file: linux/net/ipv6/reassembly.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Sat Jan  8 21:36:21 2000
-  Orig file: 
v2.3.38/linux/net/ipv6/route.c
-  Orig date: 
Thu Jan  6 12:57:48 2000
diff -u --recursive --new-file v2.3.38/linux/net/ipv6/route.c linux/net/ipv6/route.c
@@ -5,7 +5,7 @@
  *	Authors:
  *	Pedro Roque		<roque@di.fc.ul.pt>	
  *
- *	$Id: route.c,v 1.43 2000/01/06 00:42:08 davem Exp $
+ *	$Id: route.c,v 1.44 2000/01/09 02:19:51 davem Exp $
  *
  *	This program is free software; you can redistribute it and/or
  *      modify it under the terms of the GNU General Public License
@@ -1176,7 +1176,7 @@
 
 int ip6_pkt_discard(struct sk_buff *skb)
 {
-	ipv6_statistics.Ip6OutNoRoutes++;
+	IP6_INC_STATS(Ip6OutNoRoutes);
 	icmpv6_send(skb, ICMPV6_DEST_UNREACH, ICMPV6_ADDR_UNREACH, 0, skb->dev);
 	kfree_skb(skb);
 	return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)