On 3/5/17 10:44 AM, David Miller wrote:
From: Alexei Starovoitov <[email protected]> Date: Sun, 5 Mar 2017 09:41:08 -0800map_get_next_key callback is mandatory. Supply dummy handler. Fixes: b95a5c4db09b ("bpf: add a longest prefix match trie map implementation") Reported-by: Dmitry Vyukov <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]>Wouldn't it be more appropriate to provide a proper DFS ordered traversal rather than return an error code?
yes. of course. This is quick fix for 'net'. That's why the error code is ENOTSUPP with meaning that it's not supported right now and will be supported in the future.
