pppoe, fix old protocol handler

Jan Dittmer (jan.dittmer@tu-harburg.de)
Wed, 02 Jul 2003 11:04:25 +0200


Hi,

I'm using 2.5(.73-mm3, but this also applies to earlier versions) and
I'm getting tons (~6000/min) of "fix old protocol handler <pppoed>!" in
my syslog on a quite loaded adsl line. For the time being I just
commented out the annoying code fragment and I didn't find any
regressions yet (uptime ~20days).
So what's the correct way of getting rid of this message? I tried
recompiling pppd and pppoe, but that doesn't solve it. Is there a
patched version somewhere.

Thanks,

Jan

pppd version 2.4.2b3
Roaring Penguin PPPoE Version 3.5

--- a/net/core/dev.c Sun Jun 15 19:11:37 2003
+++ b/net/core/dev.c Sun Jun 15 19:11:53 2003
@@ -1370,8 +1370,8 @@
#ifdef CONFIG_SMP
/* Old protocols did not depened on BHs different of NET_BH and
TIMER_BH - they need to be fixed for the new assumptions.
- */
print_symbol("fix old protocol handler %s!\n", (unsigned
long)pt->func);
+ */
#endif
ret = pt->func(skb, skb->dev, pt);
out:

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/