[PATCH 13/13] idiag: add a oo_compare() function for idiag_msg objects

Thomas Graf tgraf at suug.ch
Mon Nov 24 09:17:20 PST 2014


On 11/24/14 at 05:14pm, Thomas Haller wrote:
> Having a oo_keygen() function only makes sense together with a
> oo_compare() function because after hashing, you still have to compare
> the objects for equality (in case of hash collission).
> 
> Signed-off-by: Thomas Haller <thaller at redhat.com>

Acked-by: Thomas Graf <tgraf at suug.ch>

Can we add a check to the register function or a build assert
to catch this?



More information about the libnl mailing list