pass flags through ->io_compare op
authorSabrina Dubroca <sd@queasysnail.net>
Tue, 7 Jun 2016 10:27:54 +0000 (12:27 +0200)
committerThomas Haller <thaller@redhat.com>
Sat, 25 Jun 2016 15:51:45 +0000 (17:51 +0200)
commit9702bb14ffb237af7c430f4699ff97e4909f6e9a
tree0863fc36653b2214dea2e6ea82012aa7f587ae3e
parenta24319393ced15d611645fec6004284d96c042cd
pass flags through ->io_compare op

Currently rtnl_link_info_data_compare doesn't pass
flags (LOOSE_COMPARISON) to the ->io_compare op, so we cannot do a match
on only the attributes that are actually set in the filter object used
in a cache lookup via nl_cache_find().

Signed-off-by: Sabrina Dubroca <sd@queasysnail.net>
Signed-off-by: Thomas Haller <thaller@redhat.com>
include/netlink-private/route/link/api.h
lib/route/link.c
lib/route/link/api.c
lib/route/link/vxlan.c