From: Wang Chen Date: Wed, 3 Dec 2008 23:49:07 +0000 (-0800) Subject: hysdn: Kill directly reference of netdev->priv X-Git-Tag: v2.6.29-rc1~581^2~338 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=25dd7e6aedff054736f9edfd05bb585d810d8543;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed