diff options
author | Craig Gallek <kraig@google.com> | 2017-09-18 15:30:55 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-09-19 13:55:15 -0700 |
commit | e454cf5958538666635488030046b6a84a22d447 (patch) | |
tree | f6894cdccfbe824c45385895fe7953732c32a77b /kernel/capability.c | |
parent | 173f4c5ebbd803023e42799d956cf174dea92db5 (diff) | |
download | linux-e454cf5958538666635488030046b6a84a22d447.tar.gz linux-e454cf5958538666635488030046b6a84a22d447.tar.bz2 linux-e454cf5958538666635488030046b6a84a22d447.zip |
bpf: Implement map_delete_elem for BPF_MAP_TYPE_LPM_TRIE
This is a simple non-recursive delete operation. It prunes paths
of empty nodes in the tree, but it does not try to further compress
the tree as nodes are removed.
Signed-off-by: Craig Gallek <kraig@google.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/capability.c')
0 files changed, 0 insertions, 0 deletions