netfilter: assign PDE->data before gluing PDE into /proc tree
authorDenis V. Lunev <den@openvz.org>
Fri, 2 May 2008 11:11:52 +0000 (04:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 11:11:52 +0000 (04:11 -0700)
commit8b169240e266d7fc58d9b9077d18d50a548d9732
treefcb06484789b34c0d1bd80575f685a4392a4d7a0
parent52c0e111fa082082060c4d43c05f20b756d5f06a
netfilter: assign PDE->data before gluing PDE into /proc tree

Replace proc_net_fops_create with proc_create_data.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Acked-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/x_tables.c