Skip to contentSkip to conversation

netfilter: uapi: NFTA_FLOWTABLE_HOOK is NLA_NESTED

PATCH Applied Phil Sutter 2 participants 2 messages Sep 25, 2024 – Sep 26, 2024 netfilter

lore
Share & tools
lore

Phil Sutter

author reviewer
#0 lore raw

PATCH 1/1 netfilter: uapi: NFTA_FLOWTABLE_HOOK is NLA_NESTED

Fix the comment which incorrectly defines it as NLA_U32.

Fixes 3b49e2e94e6e ("netfilter: nf_tables: add flow table netlink frontend")
---
 include/uapi/linux/netfilter/nf_tables.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
include/uapi/linux/netfilter/nf_tables.h +1 -1
index d705f30ac2b3..cb92375b77b0 100644
@@ -1696,7 +1696,7 @@ enum nft_flowtable_flags {
  *
  * @NFTA_FLOWTABLE_TABLE: name of the table containing the expression (NLA_STRING)
  * @NFTA_FLOWTABLE_NAME: name of this flow table (NLA_STRING)
- * @NFTA_FLOWTABLE_HOOK: netfilter hook configuration(NLA_U32)
+ * @NFTA_FLOWTABLE_HOOK: netfilter hook configuration (NLA_NESTED)
  * @NFTA_FLOWTABLE_USE: number of references to this flow table (NLA_U32)
  * @NFTA_FLOWTABLE_HANDLE: object handle (NLA_U64)
  * @NFTA_FLOWTABLE_FLAGS: flags (NLA_U32)
Signature · 1 line
2.43.0
maintainer Applied
#1 lore raw
Quoted 1 line · Phil Sutter

Fix the comment which incorrectly defines it as NLA_U32.

Applied, thanks