[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190402.132006.1252934055846128056.davem@davemloft.net>
Date: Tue, 02 Apr 2019 13:20:06 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: sheena.mira-ato@...iedtelesis.co.nz
Cc: netdev@...r.kernel.org, kuznet@....inr.ac.ru,
yoshfuji@...ux-ipv6.org
Subject: Re: [PATCH] ip6_tunnel: Match to ARPHRD_TUNNEL6 for dev type
From: Sheena Mira-ato <sheena.mira-ato@...iedtelesis.co.nz>
Date: Mon, 1 Apr 2019 13:04:42 +1300
> The device type for ip6 tunnels is set to
> ARPHRD_TUNNEL6. However, the ip4ip6_err function
> is expecting the device type of the tunnel to be
> ARPHRD_TUNNEL. Since the device types do not
> match, the function exits and the ICMP error
> packet is not sent to the originating host. Note
> that the device type for IPv4 tunnels is set to
> ARPHRD_TUNNEL.
>
> Fix is to expect a tunnel device type of
> ARPHRD_TUNNEL6 instead. Now the tunnel device
> type matches and the ICMP error packet is sent
> to the originating host.
>
> Signed-off-by: Sheena Mira-ato <sheena.mira-ato@...iedtelesis.co.nz>
Applied and queued up for -stable.
Powered by blists - more mailing lists