netfilter: nft_set_rbtree: allow loose matching of closing element in interval
mainline inclusion from mainline-4.20 commit 3b18d5eb category: bugfix bugzilla: 6237 CVE: NA ------------------------------------------------- Allow to find closest matching for the right side of an interval (end flag set on) so we allow lookups in inner ranges, eg. 10-20 in 5-25. Fixes: ba0e4d99 ("netfilter: nf_tables: get set elements via netlink") Reported-by: NPhil Sutter <phil@nwl.cc> Signed-off-by: NPablo Neira Ayuso <pablo@netfilter.org> Signed-off-by: NMao Wenan <maowenan@huawei.com> Reviewed-by: NWei Yongjun <weiyongjun1@huawei.com> Signed-off-by: NYang Yingliang <yangyingliang@huawei.com>
Showing
想要评论请 注册 或 登录