From: =?iso-8859-1?Q?Fran=E7ois-Xavier_Le_Bail?= Subject: Re: [PATCH net-next v2] ipv6: enable anycast addresses as source addresses in ICMPv6 error messages Date: Thu, 6 Feb 2014 04:38:49 -0800 (PST) Message-ID: <1391690329.62545.YahooMailNeo@web125506.mail.ne1.yahoo.com> References: <1390147236-3660-1-git-send-email-fx.lebail@yahoo.com> <52F357C3.9060406@6wind.com> Reply-To: =?iso-8859-1?Q?Fran=E7ois-Xavier_Le_Bail?= Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: David Stevens , Bill Fink , Hannes Frederic Sowa , "David S. Miller" , Alexey Kuznetsov , James Morris , Hideaki Yoshifuji , Patrick McHardy To: "nicolas.dichtel@6wind.com" , "netdev@vger.kernel.org" Return-path: Received: from nm46.bullet.mail.ne1.yahoo.com ([98.138.120.53]:22190 "EHLO nm46.bullet.mail.ne1.yahoo.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758922AbaCEPRi convert rfc822-to-8bit (ORCPT ); Wed, 5 Mar 2014 10:17:38 -0500 In-Reply-To: <52F357C3.9060406@6wind.com> Sender: netdev-owner@vger.kernel.org List-ID: > From: Nicolas Dichtel > Subject: Re: [PATCH net-next v2] ipv6: enable anycast addresses as so= urce addresses in ICMPv6 error messages >=20 > Le 19/01/2014 17:00, Francois-Xavier Le Bail a =E9crit : >=20 >> - Uses ipv6_anycast_destination() in icmp6_send(). >>=20 >> Suggested-by: Bill Fink >> Signed-off-by: Francois-Xavier Le Bail > This patch causes an Oops on my target. What is your target ? > Here is the step to reproduce it: > modprobe sit > ip link add sit1 type sit remote 10.16.0.121 local 10.16.0.249 > ip l s sit1 up > ip -6 a a dev sit1 2001:1234::123 remote 2001:1234::121 > ping6 2001:1234::121 I cannot reproduce this in my target (updated net-next x86_64) and iproute2 from git. Can you send me your config file ? > The problem is that ipv6_anycast_destination() uses unconditionally > skb_dst(skb), which is NULL in this case. >=20 > Not sure what is the best way to fix this, any suggestions? I will try to reproduce first and see. Greetings, =46rancois-Xavier