]> git.ipfire.org Git - thirdparty/nftables.git/commit
src: unbreak deletion by table handle
authorPablo Neira Ayuso <pablo@netfilter.org>
Thu, 29 Apr 2021 22:30:05 +0000 (00:30 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sun, 2 May 2021 21:30:35 +0000 (23:30 +0200)
commit56ca2432526ac14cc677b7da1262f027c7cf34be
treecd61b62d73e4c8abd3fc5ce1b6b64cd437395319
parent8327282de1073fc494f966158c2fbfd7d3fb47e0
src: unbreak deletion by table handle

Use NFTA_TABLE_HANDLE instead of NFTA_TABLE_NAME to refer to the
table 64-bit unique handle.

Fixes: 7840b9224d5b ("evaluate: remove table from cache on delete table")
Fixes: f8aec603aa7e ("src: initial extended netlink error reporting")
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/evaluate.c
src/mnl.c
tests/shell/testcases/cache/0008_delete_by_handle_0 [new file with mode: 0755]