commit | 80e60e67bc4bbfe61b61a344f542af23e16abdbf | [log] [tgz] |
---|---|---|
author | Pablo Neira Ayuso <pablo@netfilter.org> | Sat Dec 24 14:11:39 2011 +0100 |
committer | Pablo Neira Ayuso <pablo@netfilter.org> | Sat Dec 24 14:35:59 2011 +0100 |
tree | c5269a9db0efcfb64ea83190b4b83500773711af | |
parent | b9e61f0dff4b50e207ff4bb09472bda7881b21a9 [diff] |
netfilter: ctnetlink: get and zero operations must be atomic The get and zero operations have to be done in an atomic context, otherwise counters added between them will be lost. This problem was spotted by Changli Gao while discussing the nfacct infrastructure. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>