Messages in this thread Patch in this message | ![/](/images/icornerl.gif) | | From | "Maciej Soltysiak" <> | Subject | [PATCH 2.6] Re: Linux 2.4.25-pre6 | Date | Fri, 16 Jan 2004 16:52:49 +0100 |
| |
> o [IPV4]: Print correct source addr in invalid ICMP msgs, from Dennis Jorgensen Oh, and the same patch should be applied to 2.6 too.
Regards, Maciej
dns:/usr/src/linux/net/ipv4# diff -u icmp.c~ icmp.c --- icmp.c~ 2003-12-18 03:59:40.000000000 +0100 +++ icmp.c 2004-01-16 16:47:28.000000000 +0100 @@ -670,7 +670,7 @@ printk(KERN_WARNING "%u.%u.%u.%u sent an invalid ICMP " "type %u, code %u " "error to a broadcast: %u.%u.%u.%u on %s\n", - NIPQUAD(skb->nh.iph->saddr), + NIPQUAD(iph->saddr), icmph->type, icmph->code, NIPQUAD(iph->daddr), skb->dev->name); - 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/
| ![\](/images/icornerr.gif) |