On Tue, Dec 11, 2007 at 09:17:30AM +0100, Arkadiusz Miskiewicz wrote: > On Tuesday 11 of December 2007, Jarek Poplawski wrote: > > On 10-12-2007 18:10, Arkadiusz Miskiewicz wrote: > > > Hello, > > > > > > I noticed that HTB doesn't properly limit traffic if someone sends UDP > > > packages bigger than 1500. > > > > > > Does HTB have some problems/known limits in this area? > > > > > > There is other traffic in that class and when I drop udp packets bigger > > > than 1500 then remaining traffic is limited properly to correct value. > > > > Should work with proper "mtu" parameter (tc qdisc add htb help) or, > > for kernels >= 2.6.23, even without this. If this doesn't help, > > probably more information is required. > > 2.6.22 there. mtu wasn't specified at tc... Could you point to a git commit > which "fixes" the issue in 2.6.23 so I could backport it to my 2.6.22?
http://git.kernel.org/?p=linux/kernel/git/stable/linux-2.6.23.y.git;a=commitdiff;h=c9726d6890f7f3a892c879e067c3ed839f61e745 From: Ranjit Manomohan <[EMAIL PROTECTED]> Date: Wed, 11 Jul 2007 05:43:16 +0000 (-0700) Subject: [NET_SCHED]: Make HTB scheduler work with TSO. X-Git-Tag: v2.6.23-rc1~1109^2~22 But this is done with two different ways. And btw., if there is such a big difference in sizes it could be not very accurate after all. Jarek P. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html