aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2019-01-23 13:48:54 +0000
committerGreg Kroah-Hartman <[email protected]>2019-01-31 13:07:59 +0000
commit36991ca68db9dd43bac7f3519f080ee3939263ef (patch)
tree49a095083f83399fa032a7e3264a1509d79dc983 /net/tipc/node.c
parentrelay: check return of create_buf_file() properly (diff)
downloadkernel-36991ca68db9dd43bac7f3519f080ee3939263ef.tar.gz
kernel-36991ca68db9dd43bac7f3519f080ee3939263ef.zip
blk-mq: protect debugfs_create_files() from failures
If debugfs were to return a non-NULL error for a debugfs call, using that pointer later in debugfs_create_files() would crash. Fix that by properly checking the pointer before referencing it. Reported-by: Michal Hocko <[email protected]> Reported-and-tested-by: [email protected] Reported-by: Tetsuo Handa <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions