summaryrefslogtreecommitdiff
path: root/net/ipv4
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2012-01-17 14:48:43 +0400
committerDavid S. Miller <davem@davemloft.net>2012-01-18 00:52:12 +0400
commit10ec1bb7e9eb462548f14dd53c73e927a3ddf31c (patch)
treedbdd695c7879a4c8039b38f123ea7846964399d5 /net/ipv4
parent65e9d2faab70d07b9a38ac6ed298f191d24541fc (diff)
downloadlinux-10ec1bb7e9eb462548f14dd53c73e927a3ddf31c.tar.xz
inetpeer: initialize ->redirect_genid in inet_getpeer()
kmemcheck complains that ->redirect_genid doesn't get initialized. Presumably it should be set to zero. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/inetpeer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv4/inetpeer.c b/net/ipv4/inetpeer.c
index 986a02bda660..bf4a9c4808e1 100644
--- a/net/ipv4/inetpeer.c
+++ b/net/ipv4/inetpeer.c
@@ -447,6 +447,7 @@ 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));