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)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 10 Jul 2025 01:01:02 +0000 (03:01 +0200)
commit8080357a8c6cf4905bbd8969412c19d34be3395e
treeac1f0c25b65e7e60c56a960f492368f9211c985d
parentfd72f265bb00d2dd2a3bbad7ec45520025e3a926
netfilter: nf_tables: Drop dead code from fill_*_info routines

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>
net/netfilter/nf_tables_api.c