commit | 25dd7e6aedff054736f9edfd05bb585d810d8543 | [log] [tgz] |
---|---|---|
author | Wang Chen <wangchen@cn.fujitsu.com> | Wed Dec 03 15:49:07 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 03 15:49:07 2008 -0800 |
tree | f64ddc337bc56ae7fa9342fd1ab2da2ebb49e5ff | |
parent | 52404881984e2d447f920a23e3bb63262dfc77f3 [diff] |
hysdn: Kill directly reference of netdev->priv Usually, netdev->priv should point to the memory of private data which is allocated in alloc_netdev(). netdev_priv() is used to get the address of the private data. Change the netdev->priv pointer to another memory is wrong. Use netdev->ml_priv for this case. Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>