projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.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
|
blame
|
history
diff --git
a/net/ipv4/inetpeer.c
b/net/ipv4/inetpeer.c
index 986a02bda66010736e431a192b63a4ba04f65da0..bf4a9c4808e1faaa7461a472f224a4d3c8edf379 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));