Fix advertised packet scheduler timer resolution
authorPatrick McHardy <kaber@trash.net>
Wed, 24 Oct 2007 03:55:01 +0000 (20:55 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Nov 2007 16:27:36 +0000 (08:27 -0800)
commite20e6446bdf5afd61b1139efca510a187b3d1c38
treeafcb03c2f048e1f001c7d4a493aa77cb10bd0740
parentd876cd16fb5c5c98f1fd0c2cb8d5d1122de51ae8
Fix advertised packet scheduler timer resolution

patch 3c0cfc135829b98f7a4894938652f9ef78e24237 in mainline

The fourth parameter of /proc/net/psched is supposed to show the timer
resultion and is used by HTB userspace to calculate the necessary
burst rate. Currently we show the clock resolution, which results in a
too low burst rate when the two differ.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sched/sch_api.c