Skip to content
  • Wang Chen's avatar
    netdevice: Kill netdev->priv · b74ca3a8
    Wang Chen authored
    
    
    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: default avatarWang Chen <wangchen@cn.fujitsu.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    b74ca3a8