]> git.ipfire.org Git - thirdparty/nftables.git/commit
mnl: flowtable support for extended netlink error reporting
authorPablo Neira Ayuso <pablo@netfilter.org>
Wed, 19 Apr 2023 13:38:04 +0000 (15:38 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Wed, 13 Aug 2025 17:50:21 +0000 (19:50 +0200)
commite3c6721b34ab7e66103edb1b698fc6ed9f2d7cbb
tree9b926ec8bfe59032ac9aeb7ad2a01214554bd715
parent6a28f774755ae2b2eb7c24871f6eaf2257760522
mnl: flowtable support for extended netlink error reporting

commit 99b56d4ee1442ccfa0aadde3cb3ecee74a4de815 upstream.

This patch extends existing flowtable support to improve error
reporting:

 # nft add flowtable inet x y '{ devices = { x } ; }'
 Error: Could not process rule: No such file or directory
 add flowtable inet x y { devices = { x } ; }
                                      ^
 # nft delete flowtable inet x y '{ devices = { x } ; }'
 Error: Could not process rule: No such file or directory
 delete flowtable inet x y { devices = { x } ; }
                                         ^
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
src/mnl.c