netfilter: nf_flowtable: fix documentation
Subsystems (4)
PATCH 1/1 netfilter: nf_flowtable: fix documentation
In the flowtable documentation there is a missing semicolon, the command as is would give this error:
nftables.conf:5:27-33: Error: syntax error, unexpected devices, expecting newline or semicolon
hook ingress priority 0 devices = { br0, pppoe-data };
^^^^^^^
nftables.conf:4:12-13: Error: invalid hook (null)
flowtable ft {
^^--- Documentation/networking/nf_flowtable.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Documentation/networking/nf_flowtable.txt +1 -1
@@ -76,7 +76,7 @@ flowtable and add one rule to your forward chain. table inet x { flowtable f { - hook ingress priority 0 devices = { eth0, eth1 }; + hook ingress priority 0; devices = { eth0, eth1 }; } chain y { type filter hook forward priority 0; policy accept;
Signature · 1 line
2.24.1
Jakub Kicinski
maintainerQuoted 10 lines · Matteo Croce
In the flowtable documentation there is a missing semicolon, the command as is would give this error:
nftables.conf:5:27-33: Error: syntax error, unexpected devices, expecting newline or semicolon hook ingress priority 0 devices = { br0, pppoe-data }; ^^^^^^^ nftables.conf:4:12-13: Error: invalid hook (null) flowtable ft { ^^
Quoted 2 lines
Fixes 19b351f16fd9 ("netfilter: add flowtable documentation")Signed-off-by Matteo Croce <[email protected]>
This is netfilter so even though it's tagged as net, I'm expecting Pablo (or Jon) to take it. Please LMK if I'm wrong.
Quoted 12 lines · Jakub Kicinski
Quoted 10 lines · Matteo Croce
In the flowtable documentation there is a missing semicolon, the command as is would give this error:
nftables.conf:5:27-33: Error: syntax error, unexpected devices, expecting newline or semicolon hook ingress priority 0 devices = { br0, pppoe-data }; ^^^^^^^ nftables.conf:4:12-13: Error: invalid hook (null) flowtable ft { ^^
Quoted 6 lines
Quoted 2 lines
Fixes 19b351f16fd9 ("netfilter: add flowtable documentation")Signed-off-by Matteo Croce <[email protected]>This is netfilter so even though it's tagged as net, I'm expecting Pablo (or Jon) to take it. Please LMK if I'm wrong.
You're right.
As get_maintainers.pl didn't list [email protected] I missed it.
Signature · 2 lines
Matteo Croce per aspera ad upstream
Quoted 9 lines · Matteo Croce
In the flowtable documentation there is a missing semicolon, the command as is would give this error:
nftables.conf:5:27-33: Error: syntax error, unexpected devices, expecting newline or semicolon hook ingress priority 0 devices = { br0, pppoe-data }; ^^^^^^^ nftables.conf:4:12-13: Error: invalid hook (null) flowtable ft { ^^
Applied, thanks.