From 314921f76609eaebd31e6c5795e312afa39d8a6b Mon Sep 17 00:00:00 2001 From: Tom Eastep Date: Wed, 18 May 2011 11:13:50 -0700 Subject: [PATCH] Revert "Set quantum in subordinate SFQ class to the MTU for HFSC parents." This reverts commit 5ab6f8e0e5cd4aaef7e993de3c5a694055ea75ae. --- Shorewall/Perl/Shorewall/Tc.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Shorewall/Perl/Shorewall/Tc.pm b/Shorewall/Perl/Shorewall/Tc.pm index 7166e9999..c9bd5a4bf 100644 --- a/Shorewall/Perl/Shorewall/Tc.pm +++ b/Shorewall/Perl/Shorewall/Tc.pm @@ -1547,7 +1547,7 @@ sub setup_traffic_shaping() { if ( $devref->{qdisc} eq 'htb' ) { emit( "run_tc qdisc add dev $device parent $classid handle $sfqinhex: sfq quantum \$quantum limit $tcref->{limit} perturb 10" ); } else { - emit( "run_tc qdisc add dev $device parent $classid handle $sfqinhex: sfq quantum \$${dev}_mtu limit $tcref->{limit} perturb 10" ); + emit( "run_tc qdisc add dev $device parent $classid handle $sfqinhex: sfq limit $tcref->{limit} perturb 10" ); } } #