diff options
author | Lorenz Bauer <lmb@cloudflare.com> | 2020-08-21 11:29:45 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-21 15:16:11 -0700 |
commit | 13b79d3ffbb8add9e2a6d604db2b49f241b97303 (patch) | |
tree | c602cd19048be12ad6da651937b1c6ed80661afa /sound/pci/ens1370.c | |
parent | 38e12f908a5effce93ae69ebe5e52b75e5d1cf38 (diff) | |
download | linux-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