aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4/inetpeer.c
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2012-03-06 21:21:10 +0000
committerDavid S. Miller <davem@davemloft.net>2012-03-08 00:30:32 -0800
commitac3f48de09d8f4b73397047e413fadff7f65cfa7 (patch)
treeae13a0ca68397df2792e064b0877376d106a2030 /net/ipv4/inetpeer.c
parentinetpeer: Invalidate the inetpeer tree along with the routing cache (diff)
downloadlinux-dev-ac3f48de09d8f4b73397047e413fadff7f65cfa7.tar.xz
linux-dev-ac3f48de09d8f4b73397047e413fadff7f65cfa7.zip
route: Remove redirect_genid
As we invalidate the inetpeer tree along with the routing cache now, we don't need a genid to reset the redirect handling when the routing cache is flushed. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--net/ipv4/inetpeer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c
index deea2e96b7f2..d4d61b694fab 100644
--- a/net/ipv4/inetpeer.c
+++ b/net/ipv4/inetpeer.c
@@ -498,7 +498,6 @@ relookup:
p->rate_last = 0;
p->pmtu_expires = 0;
p->pmtu_orig = 0;
- p->redirect_genid = 0;
memset(&p->redirect_learned, 0, sizeof(p->redirect_learned));
INIT_LIST_HEAD(&p->gc_list);