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.
This commit is contained in:
Thomas Haller 2015-05-11 22:54:48 +02:00
parent 815b436c0a
commit 8e2ad8a3bd

View file

@ -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