[PATCH 00/13] seveal idiagnl fixes
Thomas Haller
thaller at redhat.com
Mon Nov 24 08:14:44 PST 2014
Hi,
Some patches for idiagnl.
First deprecate all the IDIAG_* defines from "netlink/idiag/idiagnl.h".
Most of them mirror the values from other headers which should be used instead.
There are a few defines that actually make sense. I renamed those to
IDIAGNL_*.
Then several fixes fo idiag_msg_obj.c, including adding a oo_compare()
functions.
Thomas Haller (13):
idiag: add copy of kernel header include/linux/inet_diag.h
idiag: fix out of bound error parsing idiag messages
idiag: deprecate idiagnl_msg_obj_ops variable in public API
idiag: deprecate IDIAG_ATTR_* enumeration
idiag: deprecate netlink message type defines in idiagnl.h
idiag: deprecate IDIAG_SS_* socket states
idiag: deprecate IDIAG_TIMER_* value for IDIAGNL_TIMER_*
idiag: reorder idiagnl.h to have deprecated functions at the top
idiag: fix memory leak in idiagnl_msg_set_cong()
idiag: fix idiagnl_msg_clone()
idiag: remove clone functions from trivial structures
idiag: add change attributes for idiag_msg_obj
idiag: add a oo_compare() function for idiag_msg objects
include/Makefile.am | 1 +
include/linux-private/linux/inet_diag.h | 137 +++++++++++++++++++
include/netlink/idiag/idiagnl.h | 104 +++++++++-----
include/netlink/idiag/msg.h | 2 +
lib/idiag/idiag.c | 99 ++++++--------
lib/idiag/idiag_meminfo_obj.c | 11 --
lib/idiag/idiag_msg_obj.c | 235 ++++++++++++++++++++++++++------
lib/idiag/idiag_vegasinfo_obj.c | 12 --
src/idiag-socket-details.c | 2 +-
9 files changed, 449 insertions(+), 154 deletions(-)
create mode 100644 include/linux-private/linux/inet_diag.h
--
1.9.3
More information about the libnl
mailing list