]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/linux/rhashtable.h
ipv6: frags: rewrite ip6_expire_frag_queue()
[mirror_ubuntu-bionic-kernel.git] / include / linux / rhashtable.h
index 361c08e35dbc388f0acd2891706d4df8f33026b6..7fd514f36e74a9dbecd3664ed6c917c41326aee1 100644 (file)
@@ -750,8 +750,10 @@ slow_path:
                if (!key ||
                    (params.obj_cmpfn ?
                     params.obj_cmpfn(&arg, rht_obj(ht, head)) :
-                    rhashtable_compare(&arg, rht_obj(ht, head))))
+                    rhashtable_compare(&arg, rht_obj(ht, head)))) {
+                       pprev = &head->next;
                        continue;
+               }
 
                data = rht_obj(ht, head);