]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
bpf: sockmap: Merge sockmap and sockhash update functions
authorLorenz Bauer <lmb@cloudflare.com>
Fri, 21 Aug 2020 10:29:44 +0000 (11:29 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Fri, 21 Aug 2020 22:16:11 +0000 (15:16 -0700)
commit38e12f908a5effce93ae69ebe5e52b75e5d1cf38
tree4fd35ba06c15bcc96632029028b159781844a57d
parent7b219da43f94a3b4d5a8aa4cc52b75b34f0301ec
bpf: sockmap: Merge sockmap and sockhash update functions

Merge the two very similar functions sock_map_update_elem and
sock_hash_update_elem into one.

Signed-off-by: Lorenz Bauer <lmb@cloudflare.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: Yonghong Song <yhs@fb.com>
Link: https://lore.kernel.org/bpf/20200821102948.21918-3-lmb@cloudflare.com
net/core/sock_map.c