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)
commitcaac76a5170eb508529bbff9d9300e9c57126444
treecd3e2c1fa9e9aab1bb2e350724cd91f49484ed68
parente9db4ef6bf4ca9894bb324c76e01b8f1a16b2650
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: 81110384441a ("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