Blame SOURCES/0010-bluetooth-nap-crash-rh1454385.patch

fc9aca
From 7851f1c5958599bfe38beac806cec1f42f1ba114 Mon Sep 17 00:00:00 2001
fc9aca
From: Lubomir Rintel <lkundrak@v3.sk>
fc9aca
Date: Tue, 23 May 2017 11:28:08 +0200
fc9aca
Subject: [PATCH] bluetooth: unhook adapter properties callback when the
fc9aca
 adapter vanishes
fc9aca
fc9aca
https://bugzilla.redhat.com/show_bug.cgi?id=1454654
fc9aca
(cherry picked from commit 0aa2e0bad31d7102034952cf95b6d43829c91d30)
fc9aca
---
fc9aca
 src/devices/bluetooth/nm-bluez-device.c | 6 +++++-
fc9aca
 1 file changed, 5 insertions(+), 1 deletion(-)
fc9aca
fc9aca
diff --git a/src/devices/bluetooth/nm-bluez-device.c b/src/devices/bluetooth/nm-bluez-device.c
fc9aca
index ebfa0d647..41ef74cae 100644
fc9aca
--- a/src/devices/bluetooth/nm-bluez-device.c
fc9aca
+++ b/src/devices/bluetooth/nm-bluez-device.c
fc9aca
@@ -1187,7 +1187,11 @@ dispose (GObject *object)
fc9aca
 	g_slist_free_full (priv->connections, g_object_unref);
fc9aca
 	priv->connections = NULL;
fc9aca
 
fc9aca
-	g_clear_object (&priv->adapter5);
fc9aca
+	if (priv->adapter5) {
fc9aca
+		g_signal_handlers_disconnect_by_func (priv->adapter5, adapter5_on_properties_changed, self);
fc9aca
+		g_clear_object (&priv->adapter5);
fc9aca
+	}
fc9aca
+
fc9aca
 	g_clear_object (&priv->dbus_connection);
fc9aca
 
fc9aca
 	G_OBJECT_CLASS (nm_bluez_device_parent_class)->dispose (object);
fc9aca
-- 
fc9aca
2.13.0
fc9aca
fc9aca
From 30d06b2253b7277ed1153bcbbc81f9e1ca3e3474 Mon Sep 17 00:00:00 2001
fc9aca
From: Lubomir Rintel <lkundrak@v3.sk>
fc9aca
Date: Mon, 22 May 2017 17:04:48 +0200
fc9aca
Subject: [PATCH] device: capture the IP6 configuration on the IP interface
fc9aca
fc9aca
Fixes a crash with Bluetooth devices where the device is the BlueZ
fc9aca
device and iface stays 0 while the IP interface is the actual BNEP link.
fc9aca
fc9aca
https://bugzilla.gnome.org/show_bug.cgi?id=782545
fc9aca
---
fc9aca
 src/devices/nm-device.c | 2 +-
fc9aca
 1 file changed, 1 insertion(+), 1 deletion(-)
fc9aca
fc9aca
diff --git a/src/devices/nm-device.c b/src/devices/nm-device.c
fc9aca
index ed6aa0e16..8473364a3 100644
fc9aca
--- a/src/devices/nm-device.c
fc9aca
+++ b/src/devices/nm-device.c
fc9aca
@@ -7702,7 +7702,7 @@ act_stage3_ip6_config_start (NMDevice *self,
fc9aca
 	nm_platform_process_events (nm_device_get_platform (self));
fc9aca
 	g_clear_object (&priv->ext_ip6_config_captured);
fc9aca
 	priv->ext_ip6_config_captured = nm_ip6_config_capture (nm_device_get_platform (self),
fc9aca
-	                                                       nm_device_get_ifindex (self),
fc9aca
+	                                                       nm_device_get_ip_ifindex (self),
fc9aca
 	                                                       FALSE,
fc9aca
 	                                                       NM_SETTING_IP6_CONFIG_PRIVACY_UNKNOWN);
fc9aca
 
fc9aca
-- 
fc9aca
2.13.0
fc9aca