Netdev List
 help / color / mirror / Atom feed
From: Julian Anastasov <ja@ssi.bg>
To: Vincent Li <vincent.mc.li@gmail.com>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
	Joel Sing <jsing@google.com>
Subject: Re: kernel policy routing table src ip not respected since 2.6.37 and commit 9fc3bbb4a752
Date: Tue, 15 Oct 2013 23:36:47 +0300 (EEST)	[thread overview]
Message-ID: <alpine.LFD.2.03.1310152242170.1919@ssi.bg> (raw)
In-Reply-To: <CAK3+h2w13isZEOurBMv57L0H_pkqMdYmPaNE3Kn5vPxfqErOMw@mail.gmail.com>


	Hello,

On Tue, 15 Oct 2013, Vincent Li wrote:

> it is strange though when 10.1.1.9 is unreachable address and the ping
> utility reports error 'Destination Host Unreachable' with source
> 10.1.1.1.  before 2.6.37, it reports 10.1.1..2

	I see, it is the icmp_send() function that uses
inet_select_addr() to select primary source for locally generated
ICMP errors that are sent back to the sender (10.1.1.2).
In your case it is the error_report from the ARP code.

	So, you are correct about the commit but I don't
see any problem with this behavior. IIRC, users preferred
to see primary addresses in the traceroute output.

Regards

--
Julian Anastasov <ja@ssi.bg>

  reply	other threads:[~2013-10-15 20:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-14 16:13 kernel policy routing table src ip not respected since 2.6.37 and commit 9fc3bbb4a752 Vincent Li
2013-10-14 22:12 ` Vincent Li
2013-10-15  8:51 ` Julian Anastasov
2013-10-15 16:02   ` Vincent Li
2013-10-15 20:36     ` Julian Anastasov [this message]
2013-10-15 21:38       ` Vincent Li

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.03.1310152242170.1919@ssi.bg \
    --to=ja@ssi.bg \
    --cc=jsing@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=vincent.mc.li@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox