| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | Trivial fix for wrong error message from icmp.c (2.6.0-test4) |
| From: | Dennis Jørgensen <postmaster@xxxxxxxxxxxxxxxxxxxxxxxxx> |
| Date: | Thu, 04 Sep 2003 02:26:42 +0200 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20030618 |
Hello I see this message a lot in my logs:192.38.215.157 sent an invalid ICMP type 11, code 0 error to a broadcast: 192.38.215.255 on eth0 but thats my own ip, the following fix makes 2.6.0-test4 report the same ip as 2.4.20 did. Should I post this somewhere else/to someone else, please let me know, I couldn't find a FAQ for the list. Regards Dennis Jørgensen (not on the list)--- linux-2.6.0-test4.org/net/ipv4/icmp.c 2003-08-28 01:13:59.000000000 +0200 +++ linux-2.6.0-test4/net/ipv4/icmp.c 2003-08-28 02:12:56.000000000 +0200 @@ -661,7 +661,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(iph->saddr),
+ NIPQUAD(skb->nh.iph->saddr),
icmph->type, icmph->code,
NIPQUAD(iph->daddr),
skb->dev->name);
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH] more sdla fixes, Stephen Hemminger |
|---|---|
| Next by Date: | Re: [PATCH] (3/8) ltpc - convert to new initialization, Jeff Garzik |
| Previous by Thread: | [PATCH] more sdla fixes, Stephen Hemminger |
| Next by Thread: | Re: Trivial fix for wrong error message from icmp.c (2.6.0-test4), David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |