lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170305.104413.1645369685777679734.davem@davemloft.net>
Date:   Sun, 05 Mar 2017 10:44:13 -0800 (PST)
From:   David Miller <davem@...emloft.net>
To:     ast@...com
Cc:     daniel@...earbox.net, daniel@...que.org, dvyukov@...gle.com,
        netdev@...r.kernel.org
Subject: Re: [PATCH net] bpf: add get_next_key callback to LPM map

From: Alexei Starovoitov <ast@...com>
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 <dvyukov@...gle.com>
> Signed-off-by: Alexei Starovoitov <ast@...nel.org>

Wouldn't it be more appropriate to provide a proper DFS ordered
traversal rather than return an error code?

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ