patch-2.4.0-test11 linux/net/ipv6/ndisc.c
Next file: linux/net/ipv6/route.c
Previous file: linux/net/ipv4/tcp_ipv4.c
Back to the patch index
Back to the overall index
- Lines: 10
- Date:
Fri Nov 17 16:48:51 2000
- Orig file:
v2.4.0-test10/linux/net/ipv6/ndisc.c
- Orig date:
Fri Jan 14 11:25:21 2000
diff -u --recursive --new-file v2.4.0-test10/linux/net/ipv6/ndisc.c linux/net/ipv6/ndisc.c
@@ -660,7 +660,8 @@
if (ra_msg->reachable_time) {
__u32 rtime = (ntohl(ra_msg->reachable_time)*HZ)/1000;
- if (rtime != in6_dev->nd_parms->base_reachable_time) {
+ if (rtime &&
+ rtime != in6_dev->nd_parms->base_reachable_time) {
in6_dev->nd_parms->base_reachable_time = rtime;
in6_dev->nd_parms->gc_staletime = 3 * rtime;
in6_dev->nd_parms->reachable_time = neigh_rand_reach_time(rtime);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)