[PATCH 0/3] idiag: fix idiagnl_compare() to compare all properties

Thomas Haller thaller at redhat.com
Thu Nov 27 04:09:02 PST 2014


oo_compare() is also relevant for nl_object_diff() and nl_object_filter().
Compare all fields so that comparing idiag_meminfo_obj works properly.

Thomas Haller (3):
  idiag: don't dump unset properties of idiag_msg
  idiag: make object idiag_vegasinfo and idiag_meminfo comparable
  idiag: fix idiagnl_compare() to compare all attributes

 lib/idiag/idiag_meminfo_obj.c   | 15 +++++++++
 lib/idiag/idiag_msg_obj.c       | 72 ++++++++++++++++++++++++++---------------
 lib/idiag/idiag_vegasinfo_obj.c | 15 +++++++++
 3 files changed, 76 insertions(+), 26 deletions(-)

-- 
1.9.3




More information about the libnl mailing list