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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <wangchen@...>
Cc: <netdev@...>
Date: Tuesday, August 5, 2008 - 6:04 am

From: Wang Chen
Date: Tue, 05 Aug 2008 17:55:27 +0800

> init_one() of cxgb2 makes several net_device to share one private data.

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH]&[Question] netdevice: Use netdev_priv(), David Miller, (Tue Aug 5, 6:04 am)