Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
netfilter: nft_set_hash: try later when GC hits EAGAIN on iteration
commit b079155 upstream. Skip GC run if iterator rewinds to the beginning with EAGAIN, otherwise GC might collect the same element more than once. Fixes: f6c383b ("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>
- Loading branch information