Re: [PATCH] ipip, sit: fix ipv4_{update_pmtu,redirect} calls

From: Cong Wang
Date: Fri Jun 06 2014 - 20:45:57 EST


On Fri, Jun 6, 2014 at 12:19 PM, Dmitry Popov <ixaphire@xxxxxxxxxx> wrote:
> ipv4_{update_pmtu,redirect} were called with tunnel's ifindex (t->dev is a
> tunnel netdevice). It caused wrong route lookup and failure of pmtu update or
> redirect. We should use the same ifindex that we use in ip_route_output_* in
> *tunnel_xmit code. It is t->parms.link .
>
> Signed-off-by: Dmitry Popov <ixaphire@xxxxxxxxxx>
> ---
> net/ipv4/ipip.c | 4 ++--
> net/ipv6/sit.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)

I think vti (v4 and v6) tunnel needs to fix as well?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/