Support for kernel commit da5141bbe0c2 ("netfilter: nf_tables: Introduce NFT_TABLE_F_PERSIST") in user space. Patch 1 is not a dependency, but trivial enough to go along with the second one. Changes since v1: - Fix memleak in patch 2. Phil Sutter (2): doc: nft.8: Two minor synopsis fixups Add support for table's persist flag doc/libnftables-json.adoc | 11 +++- doc/nft.txt | 13 +++- include/rule.h | 3 +- src/parser_bison.y | 43 +++++++++---- src/parser_json.c | 68 ++++++++++++++++++++- src/rule.c | 1 + tests/shell/features/table_flag_persist.nft | 3 + tests/shell/testcases/owner/0002-persist | 36 +++++++++++ 8 files changed, 159 insertions(+), 19 deletions(-) create mode 100644 tests/shell/features/table_flag_persist.nft create mode 100755 tests/shell/testcases/owner/0002-persist -- 2.43.0