Re: [PATCH 2.6.23 1/2] cxgb3 - Fix dev->priv usage

From: Jeff Garzik
Date: Fri Aug 31 2007 - 07:41:55 EST


Divy Le Ray wrote:
From: Divy Le Ray <divy@xxxxxxxxxxx>

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 <divy@xxxxxxxxxxx>
---

drivers/infiniband/hw/cxgb3/cxio_hal.c | 2 -
drivers/net/cxgb3/adapter.h | 2 +
drivers/net/cxgb3/cxgb3_main.c | 126 ++++++++++++++++++--------------
drivers/net/cxgb3/cxgb3_offload.c | 16 +++-
drivers/net/cxgb3/cxgb3_offload.h | 2 +
drivers/net/cxgb3/sge.c | 23 ++++--
drivers/net/cxgb3/t3cdev.h | 3 -
7 files changed, 105 insertions(+), 69 deletions(-)

applied 1-2


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/