From 8e2ad8a3bd30d6e20486d718cd651ade32c47cc6 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Mon, 11 May 2015 22:54:48 +0200 Subject: valgrind: add libnl suppression Add a comment about the upstream bug that fixes the suppressed memleak in libnl. Also, add a different backtrace for the same bug. It currently doesn't hit easily, because we don't call nl_msg_parse() often. In the future we will though. --- valgrind.suppressions | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/valgrind.suppressions b/valgrind.suppressions index ffc4b6e0a6..5f89c98b1e 100644 --- a/valgrind.suppressions +++ b/valgrind.suppressions @@ -417,7 +417,8 @@ ... } { - libnl_02 + # fixed by https://github.com/thom311/libnl/commit/d65c32a7205e679c7fc13f0e4565b13e698ba906 + libnl_rtnl_link_set_type_01 Memcheck:Leak match-leak-kinds: definite fun:calloc @@ -434,7 +435,21 @@ ... } { - libnl_03 + # fixed by https://github.com/thom311/libnl/commit/d65c32a7205e679c7fc13f0e4565b13e698ba906 + # Same issue as libnl_rtnl_link_set_type_01, but different backtrace by calling nl_msg_parse(). + libnl_rtnl_link_set_type_02 + Memcheck:Leak + match-leak-kinds: definite + fun:calloc + fun:vlan_alloc + fun:rtnl_link_set_type + fun:link_msg_parser + fun:nl_cache_parse + fun:nl_msg_parse + ... +} +{ + libnl_rtnl_link_alloc_cache Memcheck:Leak match-leak-kinds: definite fun:calloc -- cgit v1.2.1