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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeff Garzik wrote:
Divy Le Ray wrote:
From: Divy Le Ray <[email protected]>

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 <[email protected]>
---

 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux