projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65e9d2f
)
inetpeer: initialize ->redirect_genid in inet_getpeer()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Tue, 17 Jan 2012 10:48:43 +0000
(10:48 +0000)
committer
David S. Miller
<davem@davemloft.net>
Tue, 17 Jan 2012 20:52:12 +0000
(15:52 -0500)
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>
net/ipv4/inetpeer.c
patch
|
blob
|
history
diff --git
a/net/ipv4/inetpeer.c
b/net/ipv4/inetpeer.c
index
986a02b
..
bf4a9c4
100644
(file)
--- 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));