Prevents filters from being added if the first generated handle already exists.
Signed-off-by: Kim Nordlund <[EMAIL PROTECTED]> Signed-off-by: Thomas Graf <[EMAIL PROTECTED]> Index: net-2.6/net/sched/cls_basic.c =================================================================== --- net-2.6.orig/net/sched/cls_basic.c 2006-09-26 13:35:29.000000000 +0200 +++ net-2.6/net/sched/cls_basic.c 2006-09-26 13:35:39.000000000 +0200 @@ -194,7 +194,7 @@ if (handle) f->handle = handle; else { - int i = 0x80000000; + unsigned int i = 0x80000000; do { if (++head->hgenerator == 0x7FFFFFFF) head->hgenerator = 1; - 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