[LARTC] Maximum count of qdiscs

2006-08-02 Thread Ing. Vítězslav Vitula
Hi,   Fedora 4, 2.6.15.6   What is the maximum count of qdiscs attached to one dev ?   It seems, that only 2048 qdiscs can be attached. Is this correct ?   If I try to attache more qdiscs, it complains that file already exists and error talking to kernel.   How to increase this co

Re: [LARTC] iptables u32 kernel 2.6.17

2006-08-02 Thread Torsten Luettgert
On Wed, 2006-08-02 at 23:30 +0200, Piotr Chytla wrote: > apply also patch from attachment. 2.6.17 needs matchsize in ipt_match struct. Whoopsie. I missed that in the patch I sent to netfilter-devel a while ago. Thanks for doing it yourself. Regards, Torsten _

[LARTC] [PATCH 6/6] htb: rbtree cleanup

2006-08-02 Thread Stephen Hemminger
Add code to initialize rb tree nodes, and check for double deletion. This is not a real fix, but I can make it trap sometimes and may be a bandaid for: http://bugzilla.kernel.org/show_bug.cgi?id=6681 Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/sched/sch_htb.c | 34 +

[LARTC] [PATCH 1/6] htb: remove broken debug code

2006-08-02 Thread Stephen Hemminger
The HTB network scheduler had debug code that wouldn't compile and confused and obfuscated the code, remove it. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/sched/sch_htb.c | 302 ++- 1 files changed, 34 insertions(+), 268 deletion

[LARTC] [PATCH 3/6] htb: if HTB_HYSTERIS cleanup

2006-08-02 Thread Stephen Hemminger
Change the conditional compilation around HTB_HYSTERSIS since code was splitting mid expression. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/sched/sch_htb.c | 27 +-- 1 files changed, 17 insertions(+), 10 deletions(-) diff --git a/net/sched/sch_htb.c b/

[LARTC] [PATCH 6/6] htb: rbtree cleanup

2006-08-02 Thread Stephen Hemminger
Add code to initialize rb tree nodes, and check for double deletion. This is not a real fix, but I can make it trap sometimes and may be a bandaid for: http://bugzilla.kernel.org/show_bug.cgi?id=6681 Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/sched/sch_htb.c | 34 +

[LARTC] [PATCH 5/6] htb: use hlist for hash lists.

2006-08-02 Thread Stephen Hemminger
Use hlist instead of list for the hash list. This saves space, and we can check for double delete better. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/sched/sch_htb.c | 49 +++-- 1 files changed, 27 insertions(+), 22 deletions(-) diff

[LARTC] [PATCH 0/6] htb: cleanup

2006-08-02 Thread Stephen Hemminger
The HTB scheduler code is a mess, this patch set does some basic house cleaning. The first four should cause no code change, but the last two need more testing. -- Stephen Hemminger <[EMAIL PROTECTED]> "And in the Packet there writ down that doome" ___

[LARTC] [PATCH 2/6] htb: remove lock macro

2006-08-02 Thread Stephen Hemminger
Get rid of the macro's being used to obscure the locking. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- net/sched/sch_htb.c | 18 -- 1 files changed, 8 insertions(+), 10 deletions(-) diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 73094e7..c0b80b7 100644

Re: [LARTC] iptables u32 kernel 2.6.17

2006-08-02 Thread Piotr Chytla
On Wed, Aug 02, 2006 at 03:52:39PM +0200, Torsten Luettgert wrote: > On Wed, 2006-08-02 at 10:55 +0200, gerald HUET wrote: > > [ 5333.87] ip_tables: u32 match: invalid size 0 != > > 2028 > > iptables: Unknown error -1 > > > > I tried to do some modifications on ipt_u32.c > > following modific

Re: [LARTC] iptables u32 kernel 2.6.17

2006-08-02 Thread Torsten Luettgert
On Wed, 2006-08-02 at 10:55 +0200, gerald HUET wrote: > [ 5333.87] ip_tables: u32 match: invalid size 0 != > 2028 > iptables: Unknown error -1 > > I tried to do some modifications on ipt_u32.c > following modifications which work for ipp2p > (http://www.sieglitzhof.net/~doc/ipp2p/) without an

[LARTC] no PROMISC mode ..

2006-08-02 Thread Radek Vokál
Hi, I'm not convinced I'm facing a bug, I was reading some code and also reading some threads and finally reached this conclusion, please let me know if it's not clear enough and also if you don't agree : - The case it shows the flag with iproute is because it's using a single flag set.

Re: [LARTC] FWMark routing trouble

2006-08-02 Thread Markus Schulz
Am Samstag, 29. Juli 2006 17:33 schrieb former03 | Baltasar Cevc: > Hi everybody, > > I'm trying to set up routing for 2 links to the internet on a box > which produces traffic itself (e.g. DNS) and will route all our local > traffic. > > AS one route is quick and expensive and the other one slow a

[LARTC] iptables u32 kernel 2.6.17

2006-08-02 Thread gerald HUET
hi everybody, I used to test this rules on my gateway : iptables -I FORWARD -p udp -m length --length 39 -m u32 --u32 '27&0x8f=7' --u32 '31=0x527c4833' -j DROP This was working with a 2.6.16 kernel but now i upgraded to 2.6.17 it give me the following message : [ 5333.87] ip_tables: u32 match