diff options
author | Patrick McHardy <kaber@trash.net> | 2015-03-21 16:19:14 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2015-03-22 19:49:09 +0100 |
commit | 16c45eda96038aae848b6cfd42e2bf4b5e80f365 (patch) | |
tree | f1d41d0ce185c7cbf77dbead62accfe39620419b /scripts/asn1_compiler.c | |
parent | netfilter: bridge: kill nf_bridge_pad (diff) | |
download | linux-16c45eda96038aae848b6cfd42e2bf4b5e80f365.tar.xz linux-16c45eda96038aae848b6cfd42e2bf4b5e80f365.zip |
netfilter: nft_rbtree: fix locking
Fix a race condition and unnecessary locking:
* the root rb_node must only be accessed under the lock in nft_rbtree_lookup()
* the lock is not needed in lookup functions in netlink context
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'scripts/asn1_compiler.c')
0 files changed, 0 insertions, 0 deletions