Subject: Re: [PATCH]&[Question] netdevice: Use netdev_priv()

From: Divy Le Ray <[email-masked]>
Date: Tue, 5 Aug 2008 10:51:49 -0700

On Tuesday 05 August 2008 03:04:33 am David Miller wrote:
> From: Wang Chen <[email-masked]>
> Date: Tue, 05 Aug 2008 17:55:27 +0800
>
> > init_one() of cxgb2 makes several net_device to share one private data.
> > For this purpose, direct reference is necessary.
>
> It should use netdev->ml_priv which is created for this purpose.
>
> Every direct netdev->priv usage is a bug.

cxgb3 was fixed in this regard, cxgb2 needs the same treatment ...

cheers,
Divy