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: handle element re-addition after deletion
The existing code selects no next branch to be inspected when re-inserting an inactive element into the rb-tree, looping endlessly. This patch restricts the check for active elements to the EEXIST case only. Fixes: e701001 ("netfilter: nft_rbtree: allow adjacent intervals with dynamic updates") Reported-by: Wolfgang Bumiller <[email protected]> Tested-by: Wolfgang Bumiller <[email protected]> Signed-off-by: Pablo Neira Ayuso <[email protected]>
- Loading branch information