diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-13 20:34:56 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2023-11-14 16:16:21 +0100 |
commit | a7d5a955bfa854ac6b0c53aaf933394b4e6139e4 (patch) | |
tree | 9ac02dcbcac40beeff9f33dba741d6b5a89e5e35 /scripts/gdb/linux/proc.py | |
parent | c301f0981fdd3fd1ffac6836b423c4d7a8e0eb63 (diff) |
netfilter: nf_tables: bogus ENOENT when destroying element which does not exist
destroy element command bogusly reports ENOENT in case a set element
does not exist. ENOENT errors are skipped, however, err is still set
and propagated to userspace.
# nft destroy element ip raw BLACKLIST { 1.2.3.4 }
Error: Could not process rule: No such file or directory
destroy element ip raw BLACKLIST { 1.2.3.4 }
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Fixes: f80a612dd77c ("netfilter: nf_tables: add support to destroy operation")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions