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-04-30 13:31:25 -04:00
2014-06-04 22:46:38 -07:00
2014-04-18 14:20:48 +02:00
2014-06-02 11:00:41 -07:00
2014-06-02 11:00:41 -07:00
2014-03-24 12:45:01 -04:00
2014-06-02 11:00:41 -07:00
2014-05-07 16:06:05 -04:00
2014-06-10 22:30:58 -07:00
2014-05-22 14:57:15 -04:00
2014-04-23 08:21:04 +02:00