summaryrefslogtreecommitdiffstats
path: root/mm/mmap.c
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-12-04 00:49:07 +0100
committerDavid S. Miller <davem@davemloft.net>2008-12-04 00:49:07 +0100
commit25dd7e6aedff054736f9edfd05bb585d810d8543 (patch)
treef64ddc337bc56ae7fa9342fd1ab2da2ebb49e5ff /mm/mmap.c
parentPhonet: basic net namespace support (diff)
downloadlinux-25dd7e6aedff054736f9edfd05bb585d810d8543.tar.xz
linux-25dd7e6aedff054736f9edfd05bb585d810d8543.zip
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>
Diffstat (limited to 'mm/mmap.c')
0 files changed, 0 insertions, 0 deletions