net: convert /proc/net/rt_acct to seq_file
authorAlexey Dobriyan <adobriyan@gmail.com>
Wed, 25 Nov 2009 23:40:35 +0000 (15:40 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Nov 2009 23:40:35 +0000 (15:40 -0800)
commita661c4199b300503dae694efa21f1354f763b97c
tree706be22bf44642cd1109041f52fa9456cfdc77fe
parent09ad9bc752519cc167d0a573e1acf69b5c707c67
net: convert /proc/net/rt_acct to seq_file

Rewrite statistics accumulation to be in terms of structure fields,
not raw u32 additions. Keep them in same order, though.

This is the last user of create_proc_read_entry() in net/,
please NAK all new ones as well as all new ->write_proc, ->read_proc and
create_proc_entry() users. Cc me if there are problems. :-)

Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/route.c