Okay, the patch below seems to work fine and eliminates the problem as far
as I can see:
--- linux/net/sched/cls_fw.c.orig Wed Mar 24 11:43:31 1999
+++ linux/net/sched/cls_fw.c Wed Mar 24 11:45:18 1999
@@ -303,7 +303,11 @@
t->tcm_handle = f->id;
- if (!f->res.classid && !f->police)
+ if (!f->res.classid
+#ifdef CONFIG_NET_CLS_POLICE
+ && !f->police
+#endif
+ )
return skb->len;
rta = (struct rtattr*)b;
You'll notice the problem when you enable these things...
. Kernel/User netlink socket
. Routing messages
. Netlink device emulation
...but don't enable Ingres traffic policing.
I think someone else should try this out too, I'm not that experienced in
using the /dev/route device.
Regards,
-Remco
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/