[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080805.030433.100665376.davem@davemloft.net>
Date: Tue, 05 Aug 2008 03:04:33 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: wangchen@...fujitsu.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH]&[Question] netdevice: Use netdev_priv()
From: Wang Chen <wangchen@...fujitsu.com>
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.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists