aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAl Viro <viro@ZenIV.linux.org.uk>2017-12-05 23:27:57 +0000
committerDavid S. Miller <davem@davemloft.net>2017-12-05 18:39:28 -0500
commita5739435b5a3b8c449f8844ecd71a3b1e89f0a33 (patch)
treeb440fa1710f0e7c3779461cb1d851596d5b11ac5 /tools/perf/scripts/python/export-to-postgresql.py
parentdccp: CVE-2017-8824: use-after-free in DCCP code (diff)
downloadlinux-dev-a5739435b5a3b8c449f8844ecd71a3b1e89f0a33.tar.xz
linux-dev-a5739435b5a3b8c449f8844ecd71a3b1e89f0a33.zip
fix kcm_clone()
1) it's fput() or sock_release(), not both 2) don't do fd_install() until the last failure exit. 3) not a bug per se, but... don't attach socket to struct file until it's set up. Take reserving descriptor into the caller, move fd_install() to the caller, sanitize failure exits and calling conventions. Cc: stable@vger.kernel.org # v4.6+ Acked-by: Tom Herbert <tom@herbertland.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> 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