Re: [PATCH 2/2] ip6_gre: fix error path when ip6erspan_rcv failed
From: William Tu
Date: Thu Dec 14 2017 - 13:28:01 EST
On Thu, Dec 14, 2017 at 8:05 AM, Haishuang Yan
<yanhaishuang@xxxxxxxxxxxxxxxxxxxx> wrote:
> Same as ipv4 code, when ip6erspan_rcv call return PACKET_REJECT, we
> should call icmpv6_send to send icmp unreachable message in error path.
>
> Fixes: 5a963eb61b7c ("ip6_gre: Add ERSPAN native tunnel support")
> Cc: William Tu <u9012063@xxxxxxxxx>
> Signed-off-by: Haishuang Yan <yanhaishuang@xxxxxxxxxxxxxxxxxxxx>
> ---
Looks good to me. Thanks.
Acked-by: William Tu <u9012063@xxxxxxxxx>