summaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2019-10-16 14:29:47 +0200
committerPablo Neira Ayuso <pablo@netfilter.org>2019-10-23 13:01:26 +0200
commitcb662ac6711f7135618526221498ebfae155531a (patch)
tree64acd0234c5e2a6e9ea2f9f3c33ca098f7a69cfa /net/netfilter
parentb75a3e8371bce7985d3d149ad3442bf2a036065c (diff)
netfilter: nf_tables: increase maximum devices number per flowtable
Rise the maximum limit of devices per flowtable up to 256. Rename NFT_FLOWTABLE_DEVICE_MAX to NFT_NETDEVICE_MAX in preparation to reuse the netdev hook parser for ingress basechain. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/nf_tables_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_tables_api.c b/net/netfilter/nf_tables_api.c
index 2664bc388db4..98169af56c0f 100644
--- a/net/netfilter/nf_tables_api.c
+++ b/net/netfilter/nf_tables_api.c
@@ -1577,7 +1577,7 @@ static int nf_tables_parse_netdev_hooks(struct net *net,
list_add_tail(&hook->list, hook_list);
n++;
- if (n == NFT_FLOWTABLE_DEVICE_MAX) {
+ if (n == NFT_NETDEVICE_MAX) {
err = -EFBIG;
goto err_hook;
}