]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
bpf: add get_next_key callback to LPM map
authorAlexei Starovoitov <ast@fb.com>
Sun, 5 Mar 2017 17:41:08 +0000 (09:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Mar 2017 01:55:29 +0000 (17:55 -0800)
commitf38837b08d23e66de17d46d030e0d9ac5172ad1f
tree7b8ebd54fad763393978ab68950188b631367490
parent8d70eeb84ab277377c017af6a21d0a337025dede
bpf: add get_next_key callback to LPM map

map_get_next_key callback is mandatory. Supply dummy handler.

Fixes: b95a5c4db09b ("bpf: add a longest prefix match trie map implementation")
Reported-by: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/bpf/lpm_trie.c