[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)
commit46ecf0b994715589b9f5f620beca4d6aaaa02028
treea71bf1165412f79145fe49648d1e7eaba374975e
parent7e0218099832d954d107f48de9e81bd521e16f24
[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