[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1287498728.2676.110.camel@edumazet-laptop>
Date: Tue, 19 Oct 2010 16:32:08 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: Anders.Franzen@...csson.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH] ip6_tunnel dont update the mtu on the route.
Le mardi 19 octobre 2010 à 15:50 +0200, Anders.Franzen@...csson.com a
écrit :
> From: Anders Franzen <anders.franzen@...csson.com>
>
> The ip6_tunnel device did not unset the flag,
> IFF_XMIT_DST_RELEASE. This will make the dev layer
> to release the dst before calling the tunnel.
> The tunnel will not update any mtu/pmtu info, since
> it does not have a dst on the skb.
> ---
> net/ipv6/ip6_tunnel.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/net/ipv6/ip6_tunnel.c b/net/ipv6/ip6_tunnel.c
> index c2c0f89..38b9a56 100644
> --- a/net/ipv6/ip6_tunnel.c
> +++ b/net/ipv6/ip6_tunnel.c
> @@ -1371,6 +1371,7 @@ static void ip6_tnl_dev_setup(struct net_device *dev)
> dev->flags |= IFF_NOARP;
> dev->addr_len = sizeof(struct in6_addr);
> dev->features |= NETIF_F_NETNS_LOCAL;
> + dev->priv_flags &= ~IFF_XMIT_DST_RELEASE;
> }
>
>
Thanks for catching this Anders
Acked-by: Eric Dumazet <eric.dumazet@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists