Skip to content
Commit e454cf59 authored by Craig Gallek's avatar Craig Gallek Committed by David S. Miller
Browse files

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: default avatarCraig Gallek <kraig@google.com>
Acked-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 173f4c5e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment