UPSTREAM: netfilter: nft_set_rbtree: skip end interval element from gc
commit 60c0c230 upstream. rbtree lazy gc on insert might collect an end interval element that has been just added in this transactions, skip end interval elements that are not yet active. Bug: 325477234 Fixes: f718863a ("netfilter: nft_set_rbtree: fix overlap expiration walk") Cc: stable@vger.kernel.org Reported-by:lonial con <kongln9170@gmail.com> Signed-off-by:
Pablo Neira Ayuso <pablo@netfilter.org> Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit 1296c110) Signed-off-by:
Lee Jones <joneslee@google.com> Change-Id: I42f7bca418d47948292b15ace9f371b81ccd7fe8
Loading