[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20160831.205906.751461157991798139.davem@davemloft.net>
Date: Wed, 31 Aug 2016 20:59:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: elicooper@....com
Cc: netdev@...r.kernel.org, sergei.shtylyov@...entembedded.com
Subject: Re: [PATCH v2] ipv6: Use inbound ifaddr as source addresses for
ICMPv6 errors
From: Eli Cooper <elicooper@....com>
Date: Sun, 28 Aug 2016 11:34:06 +0800
> According to RFC 1885 2.2(c), the source address of ICMPv6
> errors in response to forwarded packets should be set to the
> unicast address of the forwarding interface in order to be helpful
> in diagnosis. Currently the selection of source address is based
> on the default route, without respect to the inbound interface.
>
> This patch sets the source address of ICMPv6 error messages to
> the address of inbound interface, with the exception of
> 'time exceeded' and 'packet to big' messages sent in ip6_forward(),
> where the address of OUTPUT device is forced as source address
> (however, it is NOT enforced as claimed without this patch).
>
> Signed-off-by: Eli Cooper <elicooper@....com>
Please resubmit with an updated commit message describing
the use case.
Powered by blists - more mailing lists