I've also seen:
127.0.0.1 sent an invalid ICMP error to a broadcast.
from the ipv4 stack after fixing these as per the Andi's patch. I'm not
certain what's causing it; it only happens while the box is coming up.
In addition, there was another case in the icmp6 code that Andi confirmed
last night:
--- ref/net/ipv6/icmp.c Fri Oct 5 17:53:04 2001
+++ linux/net/ipv6/icmp.c Sun Jan 20 23:05:01 2002
@@ -258,7 +258,7 @@
{
u8 optval;
- offset += skb->nh.raw - skb->data;
+ offset += skb->data - skb->nh.raw;
if (skb_copy_bits(skb, offset, &optval, 1))
return 1;
return (optval&0xC0) == 0x80;
(another mail will be following this one with another patch...)
-- Russell King (rmk@arm.linux.org.uk) The developer of ARM Linux http://www.arm.linux.org.uk/personal/aboutme.html- 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/