|
|
|
@ -506,7 +506,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |
|
|
|
|
+MODULE_ALIAS("nf-flow-table-hw");
|
|
|
|
|
--- a/net/netfilter/nf_tables_api.c
|
|
|
|
|
+++ b/net/netfilter/nf_tables_api.c
|
|
|
|
|
@@ -5399,6 +5399,13 @@ static int nf_tables_flowtable_parse_hoo
|
|
|
|
|
@@ -5453,6 +5453,13 @@ static int nf_tables_flowtable_parse_hoo
|
|
|
|
|
if (err < 0)
|
|
|
|
|
return err;
|
|
|
|
|
|
|
|
|
@ -520,7 +520,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |
|
|
|
|
ops = kcalloc(n, sizeof(struct nf_hook_ops), GFP_KERNEL);
|
|
|
|
|
if (!ops)
|
|
|
|
|
return -ENOMEM;
|
|
|
|
|
@@ -5530,10 +5537,19 @@ static int nf_tables_newflowtable(struct
|
|
|
|
|
@@ -5584,10 +5591,19 @@ static int nf_tables_newflowtable(struct
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
flowtable->data.type = type;
|
|
|
|
@ -540,7 +540,7 @@ Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org> |
|
|
|
|
err = nf_tables_flowtable_parse_hook(&ctx, nla[NFTA_FLOWTABLE_HOOK],
|
|
|
|
|
flowtable);
|
|
|
|
|
if (err < 0)
|
|
|
|
|
@@ -5659,7 +5675,8 @@ static int nf_tables_fill_flowtable_info
|
|
|
|
|
@@ -5713,7 +5729,8 @@ static int nf_tables_fill_flowtable_info
|
|
|
|
|
nla_put_string(skb, NFTA_FLOWTABLE_NAME, flowtable->name) ||
|
|
|
|
|
nla_put_be32(skb, NFTA_FLOWTABLE_USE, htonl(flowtable->use)) ||
|
|
|
|
|
nla_put_be64(skb, NFTA_FLOWTABLE_HANDLE, cpu_to_be64(flowtable->handle),
|
|
|
|
|