]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit843fcbd5a7e4db39d71b068686a92a2888be7b98
tree9c80e83770cfe40973b784b2939eefe86a9b8586
parent104fb40bb6a885d70d4a0f908575bfc0abfdf70a
rhashtable: initialize all rhashtable walker members

Commit 73c86f0e8a ("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: 73c86f0e8a ("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