summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorCong Wang <xiyou.wangcong@gmail.com>2020-02-03 07:30:52 +0300
committerPablo Neira Ayuso <pablo@netfilter.org>2020-02-07 17:53:31 +0300
commitc4a3922d2d20c710f827d3a115ee338e8d0467df (patch)
treebfb9ea05404c15a28bb5cd556bb24bd79b665341 /tools/perf/scripts/python/exported-sql-viewer.py
parent259039fa30457986929a324d769f543c1509987f (diff)
downloadlinux-c4a3922d2d20c710f827d3a115ee338e8d0467df.tar.xz
netfilter: xt_hashlimit: reduce hashlimit_mutex scope for htable_put()
It is unnecessary to hold hashlimit_mutex for htable_destroy() as it is already removed from the global hashtable and its refcount is already zero. Also, switch hinfo->use to refcount_t so that we don't have to hold the mutex until it reaches zero in htable_put(). Reported-and-tested-by: syzbot+adf6c6c2be1c3a718121@syzkaller.appspotmail.com Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions