commit | ea0514afb6a2fdd037c6cd84228adab1a3880243 | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Fri Sep 22 18:43:12 2023 +0200 |
committer | Oleksandr Tymoshenko <ovt@google.com> | Wed Oct 11 05:31:13 2023 +0000 |
tree | 64ac5ba3730c185ff7c3736f157b31ddd4ed3fee | |
parent | 73bd72fcbe42a39bc469278b678e087a49a8c4fe [diff] |
netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration commit b079155faae94e9b3ab9337e82100a914ebb4e8d upstream. Skip GC run if iterator rewinds to the beginning with EAGAIN, otherwise GC might collect the same element more than once. Fixes: f6c383b8c31a ("netfilter: nf_tables: adapt set backend to use GC transaction API") Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: Sasha Levin <sashal@kernel.org>