]> err.no Git - linux-2.6/commit
[PKTGEN]: proc interface revision
authorStephen Hemminger <shemminger@osdl.org>
Fri, 14 Oct 2005 22:42:33 +0000 (15:42 -0700)
committerArnaldo Carvalho de Melo <acme@mandriva.com>
Wed, 26 Oct 2005 02:12:18 +0000 (00:12 -0200)
commitd50a6b56f0f239cf061630c85add121dc3555339
tree98012391b898e4ef4ccd59a41e75cdf65114353c
parentb4099fab75d5e3eae8d207c0d7159e2f3348686e
[PKTGEN]: proc interface revision

The code to handle the /proc interface can be cleaned up in several places:
* use seq_file for read
* don't need to remember all the filenames separately
* use for_online_cpu's
* don't vmalloc a buffer for small command from user.

Committer note:
This patch clashed with John Hawkes's "[NET]: Wider use of for_each_*cpu()",
so I fixed it up manually.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Robert Olsson <robert.olsson@its.uu.se>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
net/core/pktgen.c