libnl/lib/idiag
Thomas Haller 39ca54ab4d idiag: fix idiagnl_msg_clone()
For one, we did not clone all pointer values. Hence, every cloned
object was very broken and resulted in dangling pointers and
double free/unref.

Apparently nobody was really using this function up to now.

Also, fix the return cases for NLE_NOMEM, so that we did not assume
ownership of pointers in 'src'.

Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-11-24 18:36:52 +01:00
..
idiag.c idiag: deprecate IDIAG_TIMER_* value for IDIAGNL_TIMER_* 2014-11-24 18:30:21 +01:00
idiag_meminfo_obj.c Add support for inet diag Netlink protocol. 2013-07-19 02:06:21 -07:00
idiag_msg_obj.c idiag: fix idiagnl_msg_clone() 2014-11-24 18:36:52 +01:00
idiag_req_obj.c idiag: fix a typo in idiagnl_req_set_ifindex() 2014-09-24 07:50:25 +02:00
idiag_vegasinfo_obj.c Add support for inet diag Netlink protocol. 2013-07-19 02:06:21 -07:00