Re: [PATCH nf] netfilter: nft_set_rbtree: overlap detection with element re-addition after deletion

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Pablo,

On Mon, 18 Apr 2022 12:21:05 +0200
Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx> wrote:

> This patch fixes spurious EEXIST errors.
> 
> Extend d2df92e98a34 ("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 7c84d41416d8 ("netfilter:
> nft_set_rbtree: Detect partial overlaps on insertion").
> 
> Fixes: 7c84d41416d8 ("netfilter: nft_set_rbtree: Detect partial overlaps on insertion")
> Fixes: d2df92e98a34 ("netfilter: nft_set_rbtree: handle element re-addition after deletion")
> Signed-off-by: Pablo Neira Ayuso <pablo@xxxxxxxxxxxxx>

Sorry for the delay, and thanks for fixing this. I believe this is
correct, but I haven't tested it.

Reviewed-by: Stefano Brivio <sbrivio@xxxxxxxxxx>

-- 
Stefano




[Index of Archives]     [Netfitler Users]     [Berkeley Packet Filter]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux