diff options
| author | Phil Sutter <phil@nwl.cc> | 2025-06-13 15:37:03 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-09-19 16:37:37 +0200 |
| commit | 3bc63fbb4151c7a2389823c1c3e87ba24e39dd57 (patch) | |
| tree | f3203a3bdbbff3c7f29049a2b7e93213bd7908cd /include/net/aligned_data.h | |
| parent | 39f40f1e4b75de1f3e231dbcbe315d441ee9dba7 (diff) | |
netfilter: nf_tables: Reintroduce shortened deletion notifications
[ Upstream commit a1050dd071682d2c9d8d6d5c96119f8f401b62f0 ]
Restore commit 28339b21a365 ("netfilter: nf_tables: do not send complete
notification of deletions") and fix it:
- Avoid upfront modification of 'event' variable so the conditionals
become effective.
- Always include NFTA_OBJ_TYPE attribute in object notifications, user
space requires it for proper deserialisation.
- Catch DESTROY events, too.
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Stable-dep-of: b2f742c846ca ("netfilter: nf_tables: restart set lookup on base_seq change")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
