diff options
| author | Phil Sutter <[email protected]> | 2025-06-13 13:37:03 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2025-07-10 01:01:14 +0000 |
| commit | a1050dd071682d2c9d8d6d5c96119f8f401b62f0 (patch) | |
| tree | 1843524405355af2c129756cd605f0e30ebbd5dd /tools/testing/selftests/net/lib/py/utils.py | |
| parent | netfilter: nf_tables: Drop dead code from fill_*_info routines (diff) | |
| download | kernel-a1050dd071682d2c9d8d6d5c96119f8f401b62f0.tar.gz kernel-a1050dd071682d2c9d8d6d5c96119f8f401b62f0.zip | |
netfilter: nf_tables: Reintroduce shortened deletion notifications
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 <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'tools/testing/selftests/net/lib/py/utils.py')
0 files changed, 0 insertions, 0 deletions
