• W
    netdevice: Kill netdev->priv · b74ca3a8
    Wang Chen 提交于
    This is the last shoot of this series.
    After I removing all directly reference of netdev->priv, I am killing
    "priv" of "struct net_device" and fixing relative comments/docs.
    
    Anyone will not be allowed to reference netdev->priv directly.
    If you want to reference the memory of private data, use netdev_priv()
    instead.
    If the private data is not allocted when alloc_netdev(), use
    netdev->ml_priv to point that memory after you creating that private
    data.
    Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    b74ca3a8
mpc.c 39.2 KB