summaryrefslogtreecommitdiffstats
path: root/sound/pci/ens1370.c
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@cloudflare.com>2020-08-21 11:29:45 +0100
committerAlexei Starovoitov <ast@kernel.org>2020-08-21 15:16:11 -0700
commit13b79d3ffbb8add9e2a6d604db2b49f241b97303 (patch)
treec602cd19048be12ad6da651937b1c6ed80661afa /sound/pci/ens1370.c
parent38e12f908a5effce93ae69ebe5e52b75e5d1cf38 (diff)
downloadlinux-13b79d3ffbb8add9e2a6d604db2b49f241b97303.tar.gz
linux-13b79d3ffbb8add9e2a6d604db2b49f241b97303.tar.bz2
linux-13b79d3ffbb8add9e2a6d604db2b49f241b97303.zip
bpf: sockmap: Call sock_map_update_elem directly
Don't go via map->ops to call sock_map_update_elem, since we know what function to call in bpf_map_update_value. Since we currently don't allow calling map_update_elem from BPF context, we can remove ops->map_update_elem and rename the function to sock_map_update_elem_sys. Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Yonghong Song <yhs@fb.com> Acked-by: John Fastabend <john.fastabend@gmail.com> Link: https://lore.kernel.org/bpf/20200821102948.21918-4-lmb@cloudflare.com
Diffstat (limited to 'sound/pci/ens1370.c')
0 files changed, 0 insertions, 0 deletions