]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: nf_tables: fix check for table overflow
authorPatrick McHardy <kaber@trash.net>
Thu, 9 Jan 2014 18:42:33 +0000 (18:42 +0000)
committerPablo Neira Ayuso <pablo@netfilter.org>
Thu, 9 Jan 2014 19:17:13 +0000 (20:17 +0100)
commit87b3e34b46dc3fbec3c161b59cd1739accd9568f
tree9cb7750c1912a640347f3eeaa88ec87143d60e22
parentf8de56de851ad0fd9d974737da5956eecf5e3d7a
netfilter: nf_tables: fix check for table overflow

The table use counter is only increased for new chains, so move the check
to the correct position.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_api.c