Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1765691AbXHYD6s (ORCPT ); Fri, 24 Aug 2007 23:58:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754211AbXHYD6j (ORCPT ); Fri, 24 Aug 2007 23:58:39 -0400 Received: from srv5.dvmed.net ([207.36.208.214]:50763 "EHLO mail.dvmed.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752217AbXHYD6i (ORCPT ); Fri, 24 Aug 2007 23:58:38 -0400 Message-ID: <46CFA8E8.90101@garzik.org> Date: Fri, 24 Aug 2007 23:58:32 -0400 From: Jeff Garzik User-Agent: Thunderbird 2.0.0.5 (X11/20070719) MIME-Version: 1.0 To: Divy Le Ray CC: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, swise@opengridcomputing.com Subject: Re: [PATCH 2.6.23 RESEND] cxgb3 - Fix dev->priv usage References: <20070823220628.9835.73819.stgit@speedy5> In-Reply-To: <20070823220628.9835.73819.stgit@speedy5> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -4.3 (----) X-Spam-Report: SpamAssassin version 3.1.9 on srv5.dvmed.net summary: Content analysis details: (-4.3 points, 5.0 required) Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 976 Lines: 29 Divy Le Ray wrote: > From: Divy Le Ray > > cxgb3 used netdev_priv() and dev->priv for different purposes. > In 2.6.23, netdev_priv() == dev->priv, cxgb3 needs a fix. > This patch is a partial backport of Dave Miller's changes in the > net-2.6.24 git branch. > > Without this fix, cxgb3 crashes on 2.6.23. > > Signed-off-by: Divy Le Ray > --- > > drivers/net/cxgb3/adapter.h | 10 +++ > drivers/net/cxgb3/cxgb3_main.c | 126 +++++++++++++++++++++---------------- > drivers/net/cxgb3/cxgb3_offload.c | 6 +- > drivers/net/cxgb3/sge.c | 23 ++++--- > drivers/net/cxgb3/t3cdev.h | 3 - > 5 files changed, 100 insertions(+), 68 deletions(-) > applied - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/