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

Jeff Garzik
2007-08-25T03:58:48Z

Divy Le Ray wrote:
> From: Divy Le Ray <divy@chelsio.com>
>
> 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@chelsio.com>
> ---
>
> 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