Pablo Neira Ayuso a0a7379e16 netfilter: nf_tables: use u32 for chain use counter
Since 4fefee5 ("netfilter: nf_tables: allow to delete several objects
from a batch"), every new rule bumps the chain use counter. However,
this is limited to 16 bits, which means that it will overrun after
2^16 rules.

Use a u32 chain counter and check for overflows (just like we do for
table objects).

Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
2014-06-16 13:07:44 +02:00
..
2014-05-23 16:28:53 -04:00
2014-05-30 17:48:58 -07:00
2014-06-04 22:46:38 -07:00
2013-09-23 16:52:45 -04:00
2014-06-04 22:46:38 -07:00
2013-11-21 13:09:42 -05:00
2014-04-16 15:15:05 -04:00