[PKTGEN]: Use proc_create() to setup ->proc_fops first
authorWang Chen <wangchen@cn.fujitsu.com>
Thu, 28 Feb 2008 22:11:49 +0000 (14:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Feb 2008 22:11:49 +0000 (14:11 -0800)
commit25296d599ccc7e06af217329729e4d7154fa79a2
tree1b39600bfbc12845ffb9d457462019aeff3e5d2b
parent46ecf0b994715589b9f5f620beca4d6aaaa02028
[PKTGEN]: 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/pktgen.c