summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2017-09-06 11:53:29 +0800
committerDavid S. Miller <davem@davemloft.net>2017-09-06 21:22:54 -0700
commitf773608026ee1e75e2256e3ad625c222ff6f9305 (patch)
tree3fcf22bd2c2e40f96e34df68dc69a1a2c707c1da /tools/perf/scripts/python/call-graph-from-sql.py
parentbe82485fbcbb1cf11b13e7356231c72fdf21241c (diff)
downloadlinux-stable-f773608026ee1e75e2256e3ad625c222ff6f9305.tar.gz
linux-stable-f773608026ee1e75e2256e3ad625c222ff6f9305.tar.bz2
linux-stable-f773608026ee1e75e2256e3ad625c222ff6f9305.zip
netlink: access nlk groups safely in netlink bind and getname
Now there is no lock protecting nlk ngroups/groups' accessing in netlink bind and getname. It's safe from nlk groups' setting in netlink_release, but not from netlink_realloc_groups called by netlink_setsockopt. netlink_lock_table is needed in both netlink bind and getname when accessing nlk groups. Acked-by: Florian Westphal <fw@strlen.de> Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions