Skip to content

nft_set_rbtree: complete interval overlap detection

Pablo Neira Ayuso netfilter-devel 3 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 0 repliesNew
  2. v24 patches 0 repliesSuperseded
  3. v14 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4netfilter: nft_set_rbtree: fix bogus EEXIST with NLM_F_CREATE with null intervalnet/netfilter/nf_tables_api.c net/netfilter/nft_set_rbtree.c+18 -00 replies
2/4netfilter: nft_set_rbtree: check for partial overlaps in anonymous setsnet/netfilter/nft_set_rbtree.c+25 -50 replies
3/4netfilter: nft_set_rbtree: validate element belonging to intervalnet/netfilter/nft_set_rbtree.c+143 -40 replies
4/4netfilter: nft_set_rbtree: validate open interval overlapinclude/net/netfilter/nf_tables.h net/netfilter/nf_tables_api.c net/netfilter/nft_set_rbtree.c+82 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH nf-next,v3 0/4] nft_set_rbtree: complete interval overlap detection

Hi,

This is a series addressing comments by AI.

It has spotted mostly comestic issues, but it also uncovered a real issue in the last patch.

Please, apply this series for the nf-next PR, thanks.

Pablo Neira Ayuso (4):
netfilter: nft_set_rbtree: fix bogus EEXIST with NLM_F_CREATE with null interval
netfilter: nft_set_rbtree: check for partial overlaps in anonymous sets
netfilter: nft_set_rbtree: validate element belonging to interval
netfilter: nft_set_rbtree: validate open interval overlap

 include/net/netfilter/nf_tables.h |   4 +
 net/netfilter/nf_tables_api.c     |  26 +++-
 net/netfilter/nft_set_rbtree.c    | 241 ++++++++++++++++++++++++++++--
 3 files changed, 258 insertions(+), 13 deletions(-)
Signature · 1 line
2.47.3