]> git.baikalelectronics.ru Git - kernel.git/commit
[NEIGHBOUR]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:10:51 +0000 (14:10 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:10:51 +0000 (14:10 -0800)
commitae0819ee6ff0013488bcedd3b807bfdd26155fe9
treea71bf1165412f79145fe49648d1e7eaba374975e
parent79f13f5c54f572c70fb8e728f3fa6e41ef6353a4
[NEIGHBOUR]: Use proc_create() to setup ->proc_fops first

Use proc_create() to make sure that ->proc_fops be setup before gluing
PDE to main tree.

Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/neighbour.c