From: Greg Kroah-Hartman Date: Fri, 12 Dec 2008 04:56:36 +0000 (-0800) Subject: removed 0002-cxgb3-Fix-kernel-crash-caused-by-uninitialized-l2t_.patch X-Git-Tag: v2.6.27.10~11 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=208f2a15f3509bce700b671f641eb1d51a6093dd;p=thirdparty%2Fkernel%2Fstable-queue.git removed 0002-cxgb3-Fix-kernel-crash-caused-by-uninitialized-l2t_.patch as it broke the build --- 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 index 43cba6452d9..00000000000 --- a/review-2.6.27/0002-cxgb3-Fix-kernel-crash-caused-by-uninitialized-l2t_.patch +++ /dev/null @@ -1,38 +0,0 @@ -From dee051a8472e61704f32f9efd980a88c816b12d0 Mon Sep 17 00:00:00 2001 -From: Roland Dreier -Date: Fri, 17 Oct 2008 14:18:26 -0700 -Subject: cxgb3: Fix kernel crash caused by uninitialized l2t_entry.arpq - -From: Roland Dreier - -[ 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 -Signed-off-by: Jeff Garzik -Signed-off-by: Greg Kroah-Hartman - ---- - 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); - } diff --git a/review-2.6.27/series b/review-2.6.27/series index 3f0f6d3976a..cabfeef648d 100644 --- a/review-2.6.27/series +++ b/review-2.6.27/series @@ -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