commit | e454cf5958538666635488030046b6a84a22d447 | [log] [tgz] |
---|---|---|
author | Craig Gallek <kraig@google.com> | Mon Sep 18 15:30:55 2017 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Sep 19 13:55:15 2017 -0700 |
tree | f6894cdccfbe824c45385895fe7953732c32a77b | |
parent | 173f4c5ebbd803023e42799d956cf174dea92db5 [diff] |
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>