summaryrefslogtreecommitdiffstats
path: root/net/netfilter/xt_u32.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2017-05-21 00:37:10 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2017-05-23 22:54:14 +0200
commitd2df92e98a34a5619dadd29c6291113c009181e7 (patch)
treed695906ddc133bee6c113f495eb1be9818ab02c3 /net/netfilter/xt_u32.c
parentf3c0eb05e258c6a48c2d1ef2fa71ffb6ff63cd18 (diff)
downloadlinux-d2df92e98a34a5619dadd29c6291113c009181e7.tar.bz2
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: e701001e7cbe ("netfilter: nft_rbtree: allow adjacent intervals with dynamic updates") Reported-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Tested-by: Wolfgang Bumiller <w.bumiller@proxmox.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/xt_u32.c')
0 files changed, 0 insertions, 0 deletions