[Pkg-utopia-commits] r3750 - in /packages/unstable/libnl/debian: changelog patches/fix_port_tracking.patch patches/series
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Wed Nov 17 02:03:24 UTC 2010
Author: biebl
Date: Wed Nov 17 02:03:13 2010
New Revision: 3750
URL: http://svn.debian.org/wsvn/pkg-utopia/?sc=1&rev=3750
Log:
* debian/patches/fix_port_tracking.patch
- release_local_port: properly compute bitmap position. Closes: #594328
Patch cherry-picked from upstream Git.
Added:
packages/unstable/libnl/debian/patches/fix_port_tracking.patch
Modified:
packages/unstable/libnl/debian/changelog
packages/unstable/libnl/debian/patches/series
Modified: packages/unstable/libnl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/libnl/debian/changelog?rev=3750&op=diff
==============================================================================
--- packages/unstable/libnl/debian/changelog (original)
+++ packages/unstable/libnl/debian/changelog Wed Nov 17 02:03:13 2010
@@ -6,6 +6,9 @@
- Remove obsolete Conflicts/Replaces (pre-lenny).
* debian/watch
- Update for new upstream location.
+ * debian/patches/fix_port_tracking.patch
+ - release_local_port: properly compute bitmap position. Closes: #594328
+ Patch cherry-picked from upstream Git.
-- Michael Biebl <biebl at debian.org> Mon, 28 Sep 2009 04:33:36 +0200
Added: packages/unstable/libnl/debian/patches/fix_port_tracking.patch
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/libnl/debian/patches/fix_port_tracking.patch?rev=3750&op=file
==============================================================================
--- packages/unstable/libnl/debian/patches/fix_port_tracking.patch (added)
+++ packages/unstable/libnl/debian/patches/fix_port_tracking.patch Wed Nov 17 02:03:13 2010
@@ -1,0 +1,27 @@
+From ef8ba32e0ca7ac7bbbaf87f6fd7b197af18aed25 Mon Sep 17 00:00:00 2001
+From: Inaky Perez-Gonzalez <inaky at linux.intel.com>
+Date: Mon, 27 Apr 2009 14:46:08 -0700
+Subject: [PATCH] release_local_port: properly compute the bitmap position
+
+Current calculation is always off, not reflecting the right position
+in the bitmap, which results in failures due to conflicts (detected at
+the kernel level) when trying to open a new handle.
+
+Signed-off-by: Inaky Perez-Gonzalez <inaky at linux.intel.com>
+---
+ lib/socket.c | 2 +-
+ 1 files changed, 1 insertions(+), 1 deletions(-)
+
+Index: libnl-1.1/lib/socket.c
+===================================================================
+--- libnl-1.1.orig/lib/socket.c 2010-11-17 02:55:53.070669985 +0100
++++ libnl-1.1/lib/socket.c 2010-11-17 02:58:07.970667329 +0100
+@@ -153,7 +153,7 @@
+ return;
+
+ nr = port >> 22;
+- used_ports_map[nr / 32] &= ~((nr % 32) + 1);
++ used_ports_map[nr / 32] &= ~(1 << nr % 32);
+ }
+
+ /**
Modified: packages/unstable/libnl/debian/patches/series
URL: http://svn.debian.org/wsvn/pkg-utopia/packages/unstable/libnl/debian/patches/series?rev=3750&op=diff
==============================================================================
--- packages/unstable/libnl/debian/patches/series (original)
+++ packages/unstable/libnl/debian/patches/series Wed Nov 17 02:03:13 2010
@@ -1,1 +1,2 @@
limits.patch
+fix_port_tracking.patch
More information about the Pkg-utopia-commits
mailing list