diff options
author | Patrick McHardy <[email protected]> | 2014-01-09 18:42:32 +0000 |
---|---|---|
committer | Pablo Neira Ayuso <[email protected]> | 2014-01-09 20:17:13 +0100 |
commit | 4401a862009bca28f02dcea4241191c27328816c (patch) | |
tree | 3b701a4a2ff9d600e1591f4539b87c9a1b9c5c13 /lib/dynamic_debug.c | |
parent | 57de2a0cd9d7e4cfc6479ecbebfcd36dbc61d5ed (diff) |
netfilter: nf_tables: restore chain change atomicity
Chain counter validation is performed after the chain policy has
potentially been changed. Move counter validation/setting before
changing of the chain policy to fix this.
Additionally fix a memory leak if chain counter allocation fails
for new chains, remove an unnecessary free_percpu() and move
counter allocation for new chains
Signed-off-by: Patrick McHardy <[email protected]>
Signed-off-by: Pablo Neira Ayuso <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions