From: Eli Cooper <elicoo...@gmx.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 <elicoo...@gmx.com> Please resubmit with an updated commit message describing the use case.