summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2019-06-03 23:41:44 +0300
committerDavid S. Miller <davem@davemloft.net>2019-06-05 00:24:10 +0300
commitd3e6e285fff3494a5c12154c8e7d79f5181d3ddc (patch)
treecde6818d92d666c803a42841832563f5324ca19c /tools/perf/scripts/python/exported-sql-viewer.py
parentae95f9c1a5601b3dd40d72436ef835b5bbb429a7 (diff)
downloadlinux-d3e6e285fff3494a5c12154c8e7d79f5181d3ddc.tar.xz
net: ipv4: fix rcu lockdep splat due to wrong annotation
syzbot triggered following splat when strict netlink validation is enabled: net/ipv4/devinet.c:1766 suspicious rcu_dereference_check() usage! This occurs because we hold RTNL mutex, but no rcu read lock. The second call site holds both, so just switch to the _rtnl variant. Reported-by: syzbot+bad6e32808a3a97b1515@syzkaller.appspotmail.com Fixes: 2638eb8b50cf ("net: ipv4: provide __rcu annotation for ifa_list") Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions