X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=net%2Fipv4%2Finetpeer.c;h=be778599bfedf73be139f67e814d46092a88dc40;hb=e7faa095cbd761ec9e0c0dd83a7425b19ddce510;hp=d757b9642d0d1c418bffad5bcd50e8e7bf336c66;hpb=d987f62cce3289e42b83eb6c110c4745ea781bdf;p=linux-2.6-microblaze.git diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c index d757b9642d0d..be778599bfed 100644 --- a/net/ipv4/inetpeer.c +++ b/net/ipv4/inetpeer.c @@ -216,6 +216,7 @@ struct inet_peer *inet_getpeer(struct inet_peer_base *base, atomic_set(&p->rid, 0); p->metrics[RTAX_LOCK-1] = INETPEER_METRICS_NEW; p->rate_tokens = 0; + p->n_redirects = 0; /* 60*HZ is arbitrary, but chosen enough high so that the first * calculation of tokens is at its maximum. */