lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 14 Jan 2013 11:51:35 +0100
From:	Schrober <franzschrober@...oo.de>
To:	linux-kernel@...r.kernel.org
Cc:	Sasha Levin <levinsasha928@...il.com>
Subject: Hashtable implementation breaks on flow statements

Hi,

I think the new hash implementation in include/linux/hashtable.h is slightly 
unintuitive when using things like hash_for_each, hash_for_each_rcu, 
hash_for_each_safe and hash_for_each_possible.

Users may want to get out of the loop through the hashtable iteration when 
some condition is met. This works well on hlist, list and other "abstract" 
data types. But the hash table would just jump to the next bucket and 
continue.
-- 
Franz Schrober
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ