aboutsummaryrefslogtreecommitdiffstats
path: root/tools/bpf/bpftool/prog.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-01-23 10:27:02 +0000
committerGreg Kroah-Hartman <[email protected]>2019-01-25 11:56:32 +0000
commitd88c93f090f708c18195553b352b9f205e65418f (patch)
tree76d7cecb24578d4a38e2aca3f827c52501508afe /tools/bpf/bpftool/prog.c
parentcacheinfo: Keep the old value if of_property_read_u32 fails (diff)
downloadkernel-d88c93f090f708c18195553b352b9f205e65418f.tar.gz
kernel-d88c93f090f708c18195553b352b9f205e65418f.zip
debugfs: fix debugfs_rename parameter checking
debugfs_rename() needs to check that the dentries passed into it really are valid, as sometimes they are not (i.e. if the return value of another debugfs call is passed into this one.) So fix this up by properly checking if the two parent directories are errors (they are allowed to be NULL), and if the dentry to rename is not NULL or an error. Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
0 files changed, 0 insertions, 0 deletions