ipv4: assign PDE->data before gluing PDE into /proc tree
commit84841c3c6cf2ed9a8e0dfd842fb35ef6e2bce091
authorDenis V. Lunev <den@openvz.org>
Fri, 2 May 2008 11:10:08 +0000 (2 04:10 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 2 May 2008 11:10:08 +0000 (2 04:10 -0700)
treef91acd3b49fb0319d086861a7c2079b1e428f1bf
parent1d3faa390df9f009d7d76134b2aa1f07990945a4
ipv4: assign PDE->data before gluing PDE into /proc tree

The check for PDE->data != NULL becomes useless after the replacement
of proc_net_fops_create with proc_create_data.

Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/tcp_ipv4.c
net/ipv4/udp.c