patch-2.1.48 linux/net/ipv6/route.c
Next file: linux/net/ipv6/tcp_ipv6.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Thu Jul 31 13:09:18 1997
- Orig file:
v2.1.47/linux/net/ipv6/route.c
- Orig date:
Tue May 13 22:41:24 1997
diff -u --recursive --new-file v2.1.47/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.12 1997/04/29 09:38:50 mj Exp $
+ * $Id: route.c,v 1.13 1997/07/19 11:11:35 davem Exp $
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@@ -1427,8 +1427,8 @@
}
arg->len += sprintf(arg->buffer + arg->len,
" %08lx %08x %08x %08lx %8s\n",
- rt->rt6i_metric, rt->rt6i_use,
- rt->rt6i_ref, rt->rt6i_flags,
+ rt->rt6i_metric, atomic_read(&rt->rt6i_use),
+ atomic_read(&rt->rt6i_ref), rt->rt6i_flags,
rt->rt6i_dev ? rt->rt6i_dev->name : "");
}
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov