diff options
author | 2017-04-02 17:27:53 +0800 | |
---|---|---|
committer | 2017-04-08 23:52:16 +0200 | |
commit | 0c7930e5763bdd189bd50035c025a9cbe5e82f23 (patch) | |
tree | e050756cd08b43500bc7e2b8a6f803a9f0b376bb /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | netfilter: ctnetlink: make it safer when checking the ct helper name (diff) | |
download | linux-dev-0c7930e5763bdd189bd50035c025a9cbe5e82f23.tar.xz linux-dev-0c7930e5763bdd189bd50035c025a9cbe5e82f23.zip |
netfilter: make it safer during the inet6_dev->addr_list traversal
inet6_dev->addr_list is protected by inet6_dev->lock, so only using
rcu_read_lock is not enough, we should acquire read_lock_bh(&idev->lock)
before the inet6_dev->addr_list traversal.
Signed-off-by: Liping Zhang <zlpnobody@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions