summaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorXu Kuohai <xukuohai@huawei.com>2021-10-19 03:29:34 +0000
committerAlexei Starovoitov <ast@kernel.org>2021-10-22 17:23:54 -0700
commitfda7a38714f40b635f5502ec4855602c6b33dad2 (patch)
tree60783626fd08c9c63907db85ef69294c4eb1a26a /COPYING
parent22a127908e747c7ede8382d5f8d4cc6c9920004f (diff)
downloadlinux-fda7a38714f40b635f5502ec4855602c6b33dad2.tar.bz2
bpf: Fix error usage of map_fd and fdget() in generic_map_update_batch()
1. The ufd in generic_map_update_batch() should be read from batch.map_fd; 2. A call to fdget() should be followed by a symmetric call to fdput(). Fixes: aa2e93b8e58e ("bpf: Add generic support for update and delete batch ops") Signed-off-by: Xu Kuohai <xukuohai@huawei.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20211019032934.1210517-1-xukuohai@huawei.com
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions