summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2024-03-14 17:30:30 +0100
committerPhil Sutter <phil@nwl.cc>2024-04-11 01:27:07 +0200
commit08c9cab3352402c1a7d7952d1a2ce0a051f48b14 (patch)
tree1291f93cd34599ee21483beb8d50c90538aad7c4 /src
parenta9b4d07dfab235324d2efbaa242fcc5ed5efe4c1 (diff)
table: Validate NFTNL_TABLE_OWNER, too
Fixes: 985955fe41f53 ("table: add table owner support") Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'src')
-rw-r--r--src/table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/table.c b/src/table.c
index 4a439ff..4f48e8c 100644
--- a/src/table.c
+++ b/src/table.c
@@ -89,6 +89,7 @@ static uint32_t nftnl_table_validate[NFTNL_TABLE_MAX + 1] = {
[NFTNL_TABLE_FAMILY] = sizeof(uint32_t),
[NFTNL_TABLE_HANDLE] = sizeof(uint64_t),
[NFTNL_TABLE_USE] = sizeof(uint32_t),
+ [NFTNL_TABLE_OWNER] = sizeof(uint32_t),
};
EXPORT_SYMBOL(nftnl_table_set_data);