forked from Minki/linux
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>
This commit is contained in:
parent
65e9d2faab
commit
10ec1bb7e9
@ -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));
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user