netfilter: nf_tables: don't update chain with unset counters
authorPablo Neira Ayuso <pablo@netfilter.org>
Tue, 5 Aug 2014 15:25:59 +0000 (17:25 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 8 Aug 2014 13:38:50 +0000 (15:38 +0200)
Fix possible replacement of the per-cpu chain counters by null
pointer when updating an existing chain in the commit path.

Reported-by: Matteo Croce <technoboy85@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>

No differences found