Re: [PATCH net] bpf: add get_next_key callback to LPM map

2017-03-06 Thread Daniel Borkmann
On 03/05/2017 06:41 PM, Alexei Starovoitov wrote: 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 Signed-off-by: Alexei Starovoitov Acked-by: Daniel Borkmann

Re: [PATCH net] bpf: add get_next_key callback to LPM map

2017-03-05 Thread David Miller
From: Alexei Starovoitov Date: Sun, 5 Mar 2017 10:58:00 -0800 > On 3/5/17 10:44 AM, David Miller wrote: >> From: Alexei Starovoitov >> Date: Sun, 5 Mar 2017 09:41:08 -0800 >> >>> map_get_next_key callback is mandatory. Supply dummy handler. >>> >>> Fixes: b95a5c4db09b ("bpf: add a longest prefix

Re: [PATCH net] bpf: add get_next_key callback to LPM map

2017-03-05 Thread Alexei Starovoitov
On 3/5/17 10:44 AM, David Miller wrote: From: Alexei Starovoitov Date: Sun, 5 Mar 2017 09:41:08 -0800 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 Signed-off-by: Alexei

Re: [PATCH net] bpf: add get_next_key callback to LPM map

2017-03-05 Thread David Miller
From: Alexei Starovoitov Date: Sun, 5 Mar 2017 09:41:08 -0800 > 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 > Signed-off-by: Alexei Starovoitov Wouldn't it be

[PATCH net] bpf: add get_next_key callback to LPM map

2017-03-05 Thread Alexei Starovoitov
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 Signed-off-by: Alexei Starovoitov --- kernel/bpf/lpm_trie.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/kernel/b