netdev
[Top] [All Lists]

Re: Trivial fix for wrong error message from icmp.c (2.6.0-test4)

To: "David S. Miller" <davem@xxxxxxxxxx>
Subject: Re: Trivial fix for wrong error message from icmp.c (2.6.0-test4)
From: Dennis Jørgensen <q@xxxxxxxxxxxxxx>
Date: Sat, 6 Sep 2003 14:30:27 +0200 (CEST)
Cc: <netdev@xxxxxxxxxxx>
In-reply-to: <20030905024736.4acefe68.davem@redhat.com>
Sender: netdev-bounce@xxxxxxxxxxx

On Fri, 5 Sep 2003, David S. Miller wrote:

> On Thu, 04 Sep 2003 02:26:42 +0200
> Dennis Jørgensen <postmaster@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
>
> > Should I post this somewhere else/to someone else, please let me know, I
> > couldn't find a FAQ for the list.
>
> You're posting it to the correct place, but your patch does not
> apply because your mail client has turned all the tabs in the
> patch into spaces.

That wasn't very nice of it.

> I can't apply this patch until you fix that up.

It should be better now.

Sorry for the inconvenience.


  Dennis Jørgensen


--- 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>