about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMichael Biebl <biebl@debian.org>2012-09-11 19:14:59 +0200
committerMichael Biebl <biebl@debian.org>2012-09-11 19:16:19 +0200
commitf63ffb9415d33c5447b0f4cd04e5ab8110870526 (patch)
tree7bcc7632d9c86ac02aac6bce2fd25abcfcf3b374
parent69e44dbd65022908ffb5e364ae71f2ad98078e88 (diff)
Remove 'max_replies_per_connection' limit from D-Bus configuration. (Closes: #678965)
  * debian/patches/17-dbus-remove_max_replies_per_connection_limit.patch:
    Remove 'max_replies_per_connection' limit from D-Bus configuration which
    sets it to 512. It was intended to increase the limit from its historical
    value of 32. However, since 2007 the default limit has been 8192, so this
    is actually a reduction. (Closes: #678965)
-rw-r--r--debian/changelog5
-rw-r--r--debian/patches/17-dbus-remove-max_replies_per_connection-limit.patch22
-rw-r--r--debian/patches/series1
3 files changed, 28 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 64312f49..5551b786 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,11 @@ network-manager (0.9.4.0-6) UNRELEASED; urgency=low
     debian/patches/16-ignore-cached-cloned-routes-kernel-notifications.patch:
     Don't create static IPv6 routes for cached/cloned routes. Patches
     cherry-picked from upstream Git. (Closes: #686328)
+  * debian/patches/17-dbus-remove_max_replies_per_connection_limit.patch:
+    Remove 'max_replies_per_connection' limit from D-Bus configuration which
+    sets it to 512. It was intended to increase the limit from its historical
+    value of 32. However, since 2007 the default limit has been 8192, so this
+    is actually a reduction. (Closes: #678965)
 
  -- Michael Biebl <biebl@debian.org>  Tue, 11 Sep 2012 18:15:49 +0200
 
diff --git a/debian/patches/17-dbus-remove-max_replies_per_connection-limit.patch b/debian/patches/17-dbus-remove-max_replies_per_connection-limit.patch
new file mode 100644
index 00000000..be642922
--- /dev/null
+++ b/debian/patches/17-dbus-remove-max_replies_per_connection-limit.patch
@@ -0,0 +1,22 @@
+commit d5b31d55fa1536a5bd08cf85929ac63a8f723467
+Author: Jiří Klimeš <jklimes@redhat.com>
+Date:   Wed May 23 10:31:12 2012 +0200
+
+    dbus: remove 'max_replies_per_connection' limit from D-Bus configuration
+    
+    It is leftover from times when D-Bus default limit was 32. Now, it is 8192, see
+    http://cgit.freedesktop.org/dbus/dbus/commit/?id=8d3d8ff55739eebd84d0d53a20a025329feafc3b
+    See also https://bugs.freedesktop.org/show_bug.cgi?id=50264
+
+Index: network-manager/src/org.freedesktop.NetworkManager.conf
+===================================================================
+--- network-manager.orig/src/org.freedesktop.NetworkManager.conf	2012-09-11 19:16:05.307271180 +0200
++++ network-manager/src/org.freedesktop.NetworkManager.conf	2012-09-11 19:16:05.535271173 +0200
+@@ -179,7 +179,5 @@
+                        send_interface="org.freedesktop.NetworkManager"
+                        send_member="wake"/>
+         </policy>
+-
+-        <limit name="max_replies_per_connection">512</limit>
+ </busconfig>
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 9ee2e2f0..8cac6905 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@
 14-use-same-kernel-API-as-wpa_supplicant.patch
 15-ignore-cached-cloned-routes-ipv6-config.patch
 16-ignore-cached-cloned-routes-kernel-notifications.patch
+17-dbus-remove-max_replies_per_connection-limit.patch