aboutsummaryrefslogtreecommitdiff
path: root/kernel/sched/sched.h
diff options
context:
space:
mode:
authorTobias Klauser2021-07-15 13:06:09 +0200
committerDaniel Borkmann2021-07-15 20:01:36 +0200
commitd444b06e40855219ef38b5e9286db16d435f06dc (patch)
treefdf9d10f6aff6fb293f6cf22665fc66fda2151b7 /kernel/sched/sched.h
parent54ea2f49fd9400dd698c25450be3352b5613b3b4 (diff)
bpftool: Check malloc return value in mount_bpffs_for_pin
Fix and add a missing NULL check for the prior malloc() call. Fixes: 49a086c201a9 ("bpftool: implement prog load command") Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Quentin Monnet <quentin@isovalent.com> Acked-by: Roman Gushchin <guro@fb.com> Link: https://lore.kernel.org/bpf/20210715110609.29364-1-tklauser@distanz.ch
Diffstat (limited to 'kernel/sched/sched.h')
0 files changed, 0 insertions, 0 deletions