aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2017-08-25 16:51:46 +0200
committerDavid S. Miller <davem@davemloft.net>2017-08-28 11:34:58 -0700
commite702c1204eb57788ef189c839c8c779368267d70 (patch)
treeef7cfae25bf1b386f03c5dfb8c44266083d0c53b /tools/perf/scripts/python/export-to-postgresql.py
parentl2tp: hold tunnel while handling genl TUNNEL_GET commands (diff)
downloadlinux-dev-e702c1204eb57788ef189c839c8c779368267d70.tar.xz
linux-dev-e702c1204eb57788ef189c839c8c779368267d70.zip
l2tp: hold tunnel used while creating sessions with netlink
Use l2tp_tunnel_get() to retrieve tunnel, so that it can't go away on us. Otherwise l2tp_tunnel_destruct() might release the last reference count concurrently, thus freeing the tunnel while we're using it. Fixes: 309795f4bec2 ("l2tp: Add netlink control API for L2TP") Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions