diff options
author | Xin Long <lucien.xin@gmail.com> | 2017-12-18 14:25:09 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-19 13:45:32 -0500 |
commit | 2c52129a7d74d017320804c6928de770815c5f4a (patch) | |
tree | 13582d953f21d1ed6d0be6169a4c3afb2617490f /net/ipv6/ip6_gre.c | |
parent | cfddd4c33c254954927942599d299b3865743146 (diff) | |
download | blackbird-op-linux-2c52129a7d74d017320804c6928de770815c5f4a.tar.gz blackbird-op-linux-2c52129a7d74d017320804c6928de770815c5f4a.zip |
ip6_gre: remove the incorrect mtu limit for ipgre tap
The same fix as the patch "ip_gre: remove the incorrect mtu limit for
ipgre tap" is also needed for ip6_gre.
Fixes: 61e84623ace3 ("net: centralize net_device min/max MTU checking")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_gre.c')
-rw-r--r-- | net/ipv6/ip6_gre.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/ipv6/ip6_gre.c b/net/ipv6/ip6_gre.c index 4cfd8e0696fe..416c8913f132 100644 --- a/net/ipv6/ip6_gre.c +++ b/net/ipv6/ip6_gre.c @@ -1308,6 +1308,7 @@ static void ip6gre_tap_setup(struct net_device *dev) ether_setup(dev); + dev->max_mtu = 0; dev->netdev_ops = &ip6gre_tap_netdev_ops; dev->needs_free_netdev = true; dev->priv_destructor = ip6gre_dev_free; |