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_rbtree: overlap detection with element re-addition…
… after deletion [ Upstream commit babc3dc ] This patch fixes spurious EEXIST errors. Extend d2df92e ("netfilter: nft_set_rbtree: handle element re-addition after deletion") to deal with elements with same end flags in the same transation. Reset the overlap flag as described by 7c84d41 ("netfilter: nft_set_rbtree: Detect partial overlaps on insertion"). Fixes: 7c84d41 ("netfilter: nft_set_rbtree: Detect partial overlaps on insertion") Fixes: d2df92e ("netfilter: nft_set_rbtree: handle element re-addition after deletion") Signed-off-by: Pablo Neira Ayuso <[email protected]> Reviewed-by: Stefano Brivio <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
- Loading branch information