]> git.baikalelectronics.ru Git - kernel.git/commit
bpf: sockhash, add release routine
authorJohn Fastabend <john.fastabend@gmail.com>
Sat, 30 Jun 2018 13:17:52 +0000 (06:17 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Sat, 30 Jun 2018 23:21:32 +0000 (01:21 +0200)
commitfda2c57ca43b4a7a16aac859a3a6fdc745793ea8
treecd3e2c1fa9e9aab1bb2e350724cd91f49484ed68
parent19def8eb008e124b5958d1f81df0460951ed425b
bpf: sockhash, add release routine

Add map_release_uref pointer to hashmap ops. This was dropped when
original sockhash code was ported into bpf-next before initial
commit.

Fixes: 11052050f9ca ("bpf: sockmap, add hash map support")
Acked-by: Martin KaFai Lau <kafai@fb.com>
Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
kernel/bpf/sockmap.c