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 for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZQkUcXtwSLtC/OLV@gondor.apana.org.au>
Date: Tue, 19 Sep 2023 11:24:33 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Alexander Aring <aahringo@...hat.com>
Cc: Pablo Neira Ayuso <pablo@...filter.org>,
	Network Development <netdev@...r.kernel.org>, kadlec@...filter.org,
	fw@...len.de, gfs2@...ts.linux.dev,
	David Teigland <teigland@...hat.com>, tgraf@...g.ch
Subject: Re: nft_rhash_walk, rhashtable and resize event

On Mon, Sep 18, 2023 at 08:38:09AM -0400, Alexander Aring wrote:
>
> To confirm this, redo the whole walk means starting at
> rhashtable_walk_start() again?

According to the documentation:

 * Returns -EAGAIN if resize event occurred.  Note that the iterator
 * will rewind back to the beginning and you may use it immediately
 * by calling rhashtable_walk_next.

So you shouldn't have to do anything other than keep on
iterating (if you wish to).

Cheers,
-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ