On Thu, Sep 29, 2016 at 09:52:20AM +0300, Andrey V. Elsukov wrote:
> Hi,
> 
> can you test this patch?
> 
> -- 
> WBR, Andrey V. Elsukov

> Index: icmp6.c
> ===================================================================
> --- icmp6.c   (revision 305970)
> +++ icmp6.c   (working copy)
> @@ -2203,7 +2203,7 @@ icmp6_reflect(struct mbuf *m, size_t off)
>                * that we do not own.  Select a source address based on the
>                * source address of the erroneous packet.
>                */
> -             in6_splitscope(&ip6->ip6_dst, &dst6, &scopeid);
> +             in6_splitscope(&ip6->ip6_src, &dst6, &scopeid);
>               error = in6_selectsrc_addr(RT_DEFAULT_FIB, &dst6,
>                   scopeid, NULL, &src6, &hlim);
>  

I just tested this.  ICMPv6 HL exceeded packets are now emitted from the
incoming (correct) interface.  Thank you!

- Mark

-- 
Mark Kamichoff
p...@prolixium.com
http://www.prolixium.com/
_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to