diff options
author | Anders Franzen <anders.franzen@ericsson.com> | 2010-10-18 23:50:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-24 18:23:36 -0400 |
commit | 7e223de84b73c621b90755dc4d8c8128e673b529 (patch) | |
tree | 557da4e39468f85b12e2ab051e9caa28e6a3cb17 /net/ipv6 | |
parent | d618222352ac95ff9a21f1fc1018fffeb8952194 (diff) |
ip6_tunnel dont update the mtu on the route.
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.
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | 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 c2c0f89397b1..38b9a56c173f 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) | |||
1371 | dev->flags |= IFF_NOARP; | 1371 | dev->flags |= IFF_NOARP; |
1372 | dev->addr_len = sizeof(struct in6_addr); | 1372 | dev->addr_len = sizeof(struct in6_addr); |
1373 | dev->features |= NETIF_F_NETNS_LOCAL; | 1373 | dev->features |= NETIF_F_NETNS_LOCAL; |
1374 | dev->priv_flags &= ~IFF_XMIT_DST_RELEASE; | ||
1374 | } | 1375 | } |
1375 | 1376 | ||
1376 | 1377 | ||