]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
netfilter: nf_tables: Drop dead code from fill_*_info routines
authorPhil Sutter <phil@nwl.cc>
Fri, 13 Jun 2025 13:37:02 +0000 (15:37 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 15 Aug 2025 10:08:47 +0000 (12:08 +0200)
commitb488bee5e92fb54f851ed078e5f1f4140549acd7
treed212488c85957d5e7755aa299d70e418056b7de8
parentf56a863397f5a932f0abcdcec39bfdc8328707f8
netfilter: nf_tables: Drop dead code from fill_*_info routines

[ Upstream commit 8080357a8c6cf4905bbd8969412c19d34be3395e ]

This practically reverts commit 28339b21a365 ("netfilter: nf_tables: do
not send complete notification of deletions"): The feature was never
effective, due to prior modification of 'event' variable the conditional
early return never happened.

User space also relies upon the current behaviour, so better reintroduce
the shortened deletion notifications once it is fixed.

Fixes: 28339b21a365 ("netfilter: nf_tables: do not send complete notification of deletions")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/netfilter/nf_tables_api.c