Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S265445AbUAPPxd (ORCPT ); Fri, 16 Jan 2004 10:53:33 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S265548AbUAPPxc (ORCPT ); Fri, 16 Jan 2004 10:53:32 -0500 Received: from dns.toxicfilms.tv ([150.254.37.24]:62678 "EHLO dns.toxicfilms.tv") by vger.kernel.org with ESMTP id S265445AbUAPPwq (ORCPT ); Fri, 16 Jan 2004 10:52:46 -0500 Message-ID: <001701c3dc48$d05763d0$0e25fe96@southpark.ae.poznan.pl> From: "Maciej Soltysiak" To: "Kernel Mailinglist" References: <000b01c3dc46$44cc3180$0e25fe96@southpark.ae.poznan.pl> Subject: [PATCH 2.6] Re: Linux 2.4.25-pre6 Date: Fri, 16 Jan 2004 16:52:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.3790.0 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0 X-Spam-Rating: 0 1.6.2 0/1000/N Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1078 Lines: 27 > 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/