diff options
| author | Pablo Neira Ayuso <[email protected]> | 2017-10-04 15:18:27 +0000 |
|---|---|---|
| committer | Pablo Neira Ayuso <[email protected]> | 2017-10-06 12:49:19 +0000 |
| commit | 5f9bfe0ef622a7bb9707c22ceb4b6451e1e2cb7b (patch) | |
| tree | 23967558ecc256acdfb814348d31dee252a4da15 /fs/proc/array.c | |
| parent | netfilter: nf_tables: Release memory obtained by kasprintf (diff) | |
| download | kernel-5f9bfe0ef622a7bb9707c22ceb4b6451e1e2cb7b.tar.gz kernel-5f9bfe0ef622a7bb9707c22ceb4b6451e1e2cb7b.zip | |
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 <[email protected]>
Tested-by: Johny Mattsson <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'fs/proc/array.c')
0 files changed, 0 insertions, 0 deletions
