Hello community, here is the log from the commit of package libnl3 for openSUSE:Factory checked in at 2012-01-05 13:48:32 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnl3 (Old) and /work/SRC/openSUSE:Factory/.libnl3.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "libnl3", Maintainer is "" Changes: -------- --- /work/SRC/openSUSE:Factory/libnl3/libnl3.changes 2011-11-22 17:48:01.000000000 +0100 +++ /work/SRC/openSUSE:Factory/.libnl3.new/libnl3.changes 2012-01-05 13:48:38.000000000 +0100 @@ -1,0 +2,5 @@ +Tue Jan 3 13:23:24 UTC 2012 - adrian@suse.de + +- add dangling-co_major_cache-reference fix required by ntrack + +------------------------------------------------------------------- New: ---- avoid-dangling-co_major_cache-reference-to-NL_AUTO_P.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnl3.spec ++++++ --- /var/tmp/diff_new_pack.gtsIlu/_old 2012-01-05 13:48:41.000000000 +0100 +++ /var/tmp/diff_new_pack.gtsIlu/_new 2012-01-05 13:48:41.000000000 +0100 @@ -1,7 +1,7 @@ # # spec file for package libnl3 # -# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -32,8 +32,10 @@ Source: libnl-%version.tar.xz Source2: baselibs.conf Patch1: libdir.diff +Patch2: avoid-dangling-co_major_cache-reference-to-NL_AUTO_P.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build -BuildRequires: bison fdupes flex libtool pkgconfig python-devel xz +BuildRequires: autoconf automake bison fdupes flex libtool +BuildRequires: pkgconfig >= 0.23 python-devel xz %description The libnl suite is a collection of libraries providing APIs to @@ -97,7 +99,7 @@ tar -xf "%{S:0}" --use=xz; %setup -DTqn libnl-%version %endif -%patch -P 1 -p1 +%patch -P 1 -P 2 -p1 %build # we do have patches @@ -135,7 +137,6 @@ %_libdir/pkgconfig/* %if %with_tools -# %files -n libnl-config %defattr(-,root,root) @@ -146,7 +147,6 @@ %defattr(-,root,root) %_mandir/man*/* %_sbindir/* - %endif %changelog ++++++ avoid-dangling-co_major_cache-reference-to-NL_AUTO_P.diff ++++++
From 8525e3a4082f88bc93f70c996577e2e48eb57d79 Mon Sep 17 00:00:00 2001 From: Alexander Sack
Date: Fri, 21 Oct 2011 00:31:39 +0200 Subject: [PATCH] avoid dangling co_major_cache reference to NL_AUTO_PROVIDE caches
--- lib/cache_mngr.c | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/cache_mngr.c b/lib/cache_mngr.c index cfa676b..69fd4aa 100644 --- a/lib/cache_mngr.c +++ b/lib/cache_mngr.c @@ -372,9 +372,12 @@ void nl_cache_mngr_free(struct nl_cache_mngr *mngr) if (mngr->cm_handle) nl_close(mngr->cm_handle); - for (i = 0; i < mngr->cm_nassocs; i++) - if (mngr->cm_assocs[i].ca_cache) + for (i = 0; i < mngr->cm_nassocs; i++) { + if (mngr->cm_assocs[i].ca_cache) { + nl_cache_mngt_unprovide(mngr->cm_assocs[i].ca_cache); nl_cache_free(mngr->cm_assocs[i].ca_cache); + } + } free(mngr->cm_assocs); free(mngr); -- 1.7.5.4 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org