From: Xin Long <lucien....@gmail.com> Date: Tue, 23 Jan 2018 18:22:25 +0800
> Commit 97a6ec4ac021 ("rhashtable: Change rhashtable_walk_start to > return void") only initialized ret for the first time, when going > to again path, the next tsp could be NULL. Without resetting ret, > cb_done would be called with tsp as NULL. > > A kernel crash was caused by this when running sctpdiag testcase > in sctp-tests. > > Note that this issue doesn't affect net.git yet. > > Fixes: 97a6ec4ac021 ("rhashtable: Change rhashtable_walk_start to return > void") > Signed-off-by: Xin Long <lucien....@gmail.com> Applied, thanks.