rhashtable: initialize all rhashtable walker members
authorSasha Levin <sasha.levin@oracle.com>
Mon, 23 Feb 2015 09:35:06 +0000 (04:35 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 23 Feb 2015 20:23:19 +0000 (15:23 -0500)
commit71bb0012c38fbd090a56b3cb96e9f626c415d264
tree9c80e83770cfe40973b784b2939eefe86a9b8586
parent85689b24c539133d05022942e986df78e9bcfae1
rhashtable: initialize all rhashtable walker members

Commit f2dba9c6ff ("rhashtable: Introduce rhashtable_walk_*") forgot to
initialize the members of struct rhashtable_walker after allocating it, which
caused an undefined value for 'resize' which is used later on.

Fixes: f2dba9c6ff ("rhashtable: Introduce rhashtable_walk_*")
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
lib/rhashtable.c