summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/netfilter
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@mail.kfki.hu>2021-01-29 22:57:43 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2021-02-04 02:33:08 +0300
commitb1bdde33b72366da20d10770ab7a49fe87b5e190 (patch)
tree253dfd0837307728e702e1b832a33ad14c2069d9 /tools/testing/selftests/netfilter
parent44a674d6f79867d5652026f1cc11f7ba8a390183 (diff)
downloadlinux-b1bdde33b72366da20d10770ab7a49fe87b5e190.tar.xz
netfilter: xt_recent: Fix attempt to update deleted entry
When both --reap and --update flag are specified, there's a code path at which the entry to be updated is reaped beforehand, which then leads to kernel crash. Reap only entries which won't be updated. Fixes kernel bugzilla #207773. Link: https://bugzilla.kernel.org/show_bug.cgi?id=207773 Reported-by: Reindl Harald <h.reindl@thelounge.net> Fixes: 0079c5aee348 ("netfilter: xt_recent: add an entry reaper") Signed-off-by: Jozsef Kadlecsik <kadlec@netfilter.org> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/testing/selftests/netfilter')
0 files changed, 0 insertions, 0 deletions