|
|
@@ -506,7 +506,7 @@ Signed-off-by: Pablo Neira Ayuso <[email protected]>
|
|
|
+MODULE_ALIAS("nf-flow-table-hw");
|
|
|
--- a/net/netfilter/nf_tables_api.c
|
|
|
+++ b/net/netfilter/nf_tables_api.c
|
|
|
-@@ -5478,6 +5478,13 @@ static int nf_tables_flowtable_parse_hoo
|
|
|
+@@ -5490,6 +5490,13 @@ static int nf_tables_flowtable_parse_hoo
|
|
|
if (err < 0)
|
|
|
return err;
|
|
|
|
|
|
@@ -520,7 +520,7 @@ Signed-off-by: Pablo Neira Ayuso <[email protected]>
|
|
|
ops = kcalloc(n, sizeof(struct nf_hook_ops), GFP_KERNEL);
|
|
|
if (!ops)
|
|
|
return -ENOMEM;
|
|
|
-@@ -5609,10 +5616,19 @@ static int nf_tables_newflowtable(struct
|
|
|
+@@ -5621,10 +5628,19 @@ static int nf_tables_newflowtable(struct
|
|
|
}
|
|
|
|
|
|
flowtable->data.type = type;
|
|
|
@@ -540,7 +540,7 @@ Signed-off-by: Pablo Neira Ayuso <[email protected]>
|
|
|
err = nf_tables_flowtable_parse_hook(&ctx, nla[NFTA_FLOWTABLE_HOOK],
|
|
|
flowtable);
|
|
|
if (err < 0)
|
|
|
-@@ -5738,7 +5754,8 @@ static int nf_tables_fill_flowtable_info
|
|
|
+@@ -5750,7 +5766,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),
|