[kernel] r4736 - in dists/trunk/linux-2.6/debian: . patches-debian patches-debian/series

Simon Horman horms at costa.debian.org
Mon Nov 7 09:18:09 UTC 2005


Author: horms
Date: 2005-11-07 09:18:08 +0000 (Mon, 07 Nov 2005)
New Revision: 4736

Added:
   dists/trunk/linux-2.6/debian/patches-debian/net-nf_queue-oops.patch
Modified:
   dists/trunk/linux-2.6/debian/changelog
   dists/trunk/linux-2.6/debian/patches-debian/series/2.6.14-3
Log:
[NETFILTER] nf_queue: Fix Ooops when no queue handler registered
    This is a regression introduced in 2.6.14.
    net-nf_queue-oops.patch. (Closes: #337713)


Modified: dists/trunk/linux-2.6/debian/changelog
===================================================================
--- dists/trunk/linux-2.6/debian/changelog	2005-11-07 09:06:38 UTC (rev 4735)
+++ dists/trunk/linux-2.6/debian/changelog	2005-11-07 09:18:08 UTC (rev 4736)
@@ -24,12 +24,15 @@
     automatically compenste for. (Closes: #336450)
   * Redisable CONFIG_SOFTWARE_SUSPEND on ppc/miboot as it required
     CONFIG_PM to compile.
+  * [NETFILTER] nf_queue: Fix Ooops when no queue handler registered
+    This is a regression introduced in 2.6.14.
+    net-nf_queue-oops.patch. (Closes: #337713)
 
   [ dann frazier ]
   * net-ipconntrack-nat-fix.patch - fix compilation of
     ip_conntrack_helper_pptp.c when NAT is disabled. (Closes: #336431)
 
- -- Simon Horman <horms at debian.org>  Mon,  7 Nov 2005 18:05:10 +0900
+ -- Simon Horman <horms at debian.org>  Mon,  7 Nov 2005 18:17:47 +0900
 
 linux-2.6 (2.6.14-2) unstable; urgency=low
 

Added: dists/trunk/linux-2.6/debian/patches-debian/net-nf_queue-oops.patch
===================================================================
--- dists/trunk/linux-2.6/debian/patches-debian/net-nf_queue-oops.patch	2005-11-07 09:06:38 UTC (rev 4735)
+++ dists/trunk/linux-2.6/debian/patches-debian/net-nf_queue-oops.patch	2005-11-07 09:18:08 UTC (rev 4736)
@@ -0,0 +1,26 @@
+From: Harald Welte <laforge at netfilter.org>
+Date: Thu, 3 Nov 2005 19:03:24 +0000 (+0100)
+Subject:     [NETFILTER] nf_queue: Fix Ooops when no queue handler registered
+X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/acme/net-2.6.git;a=commitdiff;h=1758ee0ea26561943813c5f5a7b27272f2cbc4cf
+
+  [NETFILTER] nf_queue: Fix Ooops when no queue handler registered
+  
+  With the new nf_queue generalization in 2.6.14, we've introduced a bug
+  that causes an oops as soon as a packet is queued but no queue handler
+  registered.  This patch fixes it.
+  
+  Signed-off-by: Harald Welte <laforge at netfilter.org>
+  Signed-off-by: Arnaldo Carvalho de Melo <acme at mandriva.com>
+---
+
+--- a/net/netfilter/nf_queue.c
++++ b/net/netfilter/nf_queue.c
+@@ -117,7 +117,7 @@ int nf_queue(struct sk_buff **skb, 
+ 
+ 	/* QUEUE == DROP if noone is waiting, to be safe. */
+ 	read_lock(&queue_handler_lock);
+-	if (!queue_handler[pf]->outfn) {
++	if (!queue_handler[pf] || !queue_handler[pf]->outfn) {
+ 		read_unlock(&queue_handler_lock);
+ 		kfree_skb(*skb);
+ 		return 1;

Modified: dists/trunk/linux-2.6/debian/patches-debian/series/2.6.14-3
===================================================================
--- dists/trunk/linux-2.6/debian/patches-debian/series/2.6.14-3	2005-11-07 09:06:38 UTC (rev 4735)
+++ dists/trunk/linux-2.6/debian/patches-debian/series/2.6.14-3	2005-11-07 09:18:08 UTC (rev 4736)
@@ -1 +1,2 @@
 + net-ipconntrack-nat-fix.patch
++ net-nf_queue-oops.patch




More information about the Kernel-svn-changes mailing list