]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
removed 0002-cxgb3-Fix-kernel-crash-caused-by-uninitialized-l2t_.patch
authorGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Dec 2008 04:56:36 +0000 (20:56 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 12 Dec 2008 04:56:36 +0000 (20:56 -0800)
as it broke the build

review-2.6.27/0002-cxgb3-Fix-kernel-crash-caused-by-uninitialized-l2t_.patch [deleted file]
review-2.6.27/series

diff --git a/review-2.6.27/0002-cxgb3-Fix-kernel-crash-caused-by-uninitialized-l2t_.patch b/review-2.6.27/0002-cxgb3-Fix-kernel-crash-caused-by-uninitialized-l2t_.patch
deleted file mode 100644 (file)
index 43cba64..0000000
+++ /dev/null
@@ -1,38 +0,0 @@
-From dee051a8472e61704f32f9efd980a88c816b12d0 Mon Sep 17 00:00:00 2001
-From: Roland Dreier <rdreier@cisco.com>
-Date: Fri, 17 Oct 2008 14:18:26 -0700
-Subject: cxgb3: Fix kernel crash caused by uninitialized l2t_entry.arpq
-
-From: Roland Dreier <rdreier@cisco.com>
-
-[ Upstream commit 6d329af9967e7ab3f4a3d7f1e8ef87539c3a069f ]
-
-Commit 147e70e6 ("cxgb3: Use SKB list interfaces instead of home-grown
-implementation.") causes a crash in t3_l2t_send_slow() when an iWARP
-connection request is received.  This is because the new l2t_entry.arpq
-skb queue is never initialized, and therefore trying to add an skb to
-it causes a NULL dereference.  With the old code there was no need to
-initialize the queues because the l2t_entry structures were zeroed,
-and the code used NULL to mean empty.
-
-Fix this by adding __skb_queue_head_init() when all the l2t_entry
-structures get allocated.
-
-Signed-off-by: Roland Dreier <rolandd@cisco.com>
-Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
-Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-
----
- drivers/net/cxgb3/l2t.c |    1 +
- 1 file changed, 1 insertion(+)
-
---- a/drivers/net/cxgb3/l2t.c
-+++ b/drivers/net/cxgb3/l2t.c
-@@ -436,6 +436,7 @@ struct l2t_data *t3_init_l2t(unsigned in
-       for (i = 0; i < l2t_capacity; ++i) {
-               d->l2tab[i].idx = i;
-               d->l2tab[i].state = L2T_STATE_UNUSED;
-+              __skb_queue_head_init(&d->l2tab[i].arpq);
-               spin_lock_init(&d->l2tab[i].lock);
-               atomic_set(&d->l2tab[i].refcnt, 0);
-       }
index 3f0f6d3976aa13573e86222afa3a1f5cc4cad86c..cabfeef648d144a0f4e33a381d2a45ea03f160b6 100644 (file)
@@ -1,6 +1,5 @@
 libata-improve-phantom-device-detection.patch
 0001-af_unix-netns-fix-problem-of-return-value.patch
-0002-cxgb3-Fix-kernel-crash-caused-by-uninitialized-l2t_.patch
 0003-niu-Fix-readq-implementation-when-architecture-does.patch
 0004-pppol2tp-Add-missing-sock_put-in-pppol2tp_release.patch
 0005-udp-multicast-packets-need-to-check-namespace.patch