summaryrefslogtreecommitdiffstats
path: root/kernel/lib/rhashtable.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/lib/rhashtable.c')
-rw-r--r--kernel/lib/rhashtable.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/lib/rhashtable.c b/kernel/lib/rhashtable.c
index 8609378e6..cf910e48f 100644
--- a/kernel/lib/rhashtable.c
+++ b/kernel/lib/rhashtable.c
@@ -612,6 +612,8 @@ next:
iter->skip = 0;
}
+ iter->p = NULL;
+
/* Ensure we see any new tables. */
smp_rmb();
@@ -622,8 +624,6 @@ next:
return ERR_PTR(-EAGAIN);
}
- iter->p = NULL;
-
out:
return obj;