Re: [PATCH 2.6.23 RESEND] cxgb3 - Fix dev->priv usage

From: Jeff Garzik
Date: Sat Aug 25 2007 - 02:32:24 EST


Jeff Garzik wrote:
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/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

I take that back. Rejected -- it breaks infiniband build.

-
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/