Hello community, here is the log from the commit of package NetworkManager checked in at Sat Mar 15 00:05:39 CET 2008. -------- --- NetworkManager/NetworkManager.changes 2008-03-13 23:50:26.000000000 +0100 +++ /mounts/work_src_done/STABLE/NetworkManager/NetworkManager.changes 2008-03-14 23:15:39.502182000 +0100 @@ -1,0 +2,5 @@ +Fri Mar 14 23:18:24 CET 2008 - tambet@suse.de + +- Fix a crasher bug triggered very frequently on waking up from suspend. + +------------------------------------------------------------------- New: ---- nm-unref-device.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ NetworkManager.spec ++++++ --- /var/tmp/diff_new_pack.Z26620/_old 2008-03-15 00:05:33.000000000 +0100 +++ /var/tmp/diff_new_pack.Z26620/_new 2008-03-15 00:05:33.000000000 +0100 @@ -13,7 +13,7 @@ Name: NetworkManager Url: http://www.gnome.org/projects/NetworkManager/ Version: 0.7.0.r3453 -Release: 1 +Release: 2 License: GPL v2 or later BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: hal-devel intltool iproute2 libgcrypt-devel libnl-devel libtool ppp-devel wireless-tools @@ -24,6 +24,7 @@ Source0: NetworkManager-%{version}.tar.bz2 Source1: nfs Source2: nm-system-settings.conf +Patch0: nm-unref-device.patch Requires: wpa_supplicant >= 0.5.8-54 Requires: dhcp-client Obsoletes: dhcdbd <= 1.14 @@ -86,6 +87,7 @@ %prep %setup -n %{name}-0.7.0 +%patch0 -p1 pppddir=`ls -1d /usr/lib/pppd/2*` test -n "$pppddir" || exit 1 export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" @@ -169,6 +171,8 @@ %{_libdir}/libnm_glib_vpn.so.* %changelog +* Sat Mar 15 2008 tambet@suse.de +- Fix a crasher bug triggered very frequently on waking up from suspend. * Fri Mar 14 2008 tambet@suse.de - Upgrade to the latest SVN: Implement support for multiple active devices. ++++++ nm-unref-device.patch ++++++ Index: NetworkManager-0.7.0/src/NetworkManagerPolicy.c =================================================================== --- NetworkManager-0.7.0.orig/src/NetworkManagerPolicy.c +++ NetworkManager-0.7.0/src/NetworkManagerPolicy.c @@ -189,7 +189,7 @@ auto_activate_device (gpointer user_data // deactivate the device and activate the new connection instead of just // bailing if the device is already active if (nm_device_get_act_request (data->device)) - return FALSE; + goto out; policy = data->policy; @@ -232,12 +232,13 @@ auto_activate_device (gpointer user_data /* Remove this call's handler ID */ policy->pending_activation_checks = g_slist_remove (policy->pending_activation_checks, data); - g_object_unref (data->device); - g_slist_foreach (connections, (GFunc) g_object_unref, NULL); g_slist_free (connections); +out: + g_object_unref (data->device); g_free (data); + return FALSE; } ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org