aboutsummaryrefslogtreecommitdiff
path: root/kernel/Kconfig.freezer
diff options
context:
space:
mode:
authorWei Yongjun2020-04-30 08:18:51 +0000
committerDaniel Borkmann2020-04-30 16:19:08 +0200
commit7f645462ca01d01abb94d75e6768c8b3ed3a188b (patch)
tree9b4fe3e64486b14b38c6598a089e5ca6bc5107cb /kernel/Kconfig.freezer
parent18f02ad19e2c2a1d9e1d55a4e1c0cbf51419151c (diff)
bpf: Fix error return code in map_lookup_and_delete_elem()
Fix to return negative error code -EFAULT from the copy_to_user() error handling case instead of 0, as done elsewhere in this function. Fixes: bd513cd08f10 ("bpf: add MAP_LOOKUP_AND_DELETE_ELEM syscall") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20200430081851.166996-1-weiyongjun1@huawei.com
Diffstat (limited to 'kernel/Kconfig.freezer')
0 files changed, 0 insertions, 0 deletions