summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2015-05-11 22:54:48 +0200
committerThomas Haller <thaller@redhat.com>2015-05-13 14:24:06 +0200
commit8e2ad8a3bd30d6e20486d718cd651ade32c47cc6 (patch)
treeae10902df564ce53c6c61243caa7030e4a5878fe
parent815b436c0ab334604db4c1fc57f91a37e3f72132 (diff)
downloadNetworkManager-8e2ad8a3bd30d6e20486d718cd651ade32c47cc6.tar.gz
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.
-rw-r--r--valgrind.suppressions19
1 files 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