diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-10-04 17:18:27 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2017-10-06 14:49:19 +0200 |
commit | 5f9bfe0ef622a7bb9707c22ceb4b6451e1e2cb7b (patch) | |
tree | 23967558ecc256acdfb814348d31dee252a4da15 /net/netfilter/x_tables.c | |
parent | e63aaaa6be54c956b9603590ea436b003407bb3e (diff) |
netfilter: nf_tables: do not dump chain counters if not enabled
Chain counters are only enabled on demand since 9f08ea848117, skip them
when dumping them via netlink.
Fixes: 9f08ea848117 ("netfilter: nf_tables: keep chain counters away from hot path")
Reported-by: Johny Mattsson <johny.mattsson+kernel@gmail.com>
Tested-by: Johny Mattsson <johny.mattsson+kernel@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter/x_tables.c')
0 files changed, 0 insertions, 0 deletions