mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 01:41:39 +00:00
ip6_gre: remove the incorrect mtu limit for ipgre tap
[ Upstream commit2c52129a7d
] The same fix as the patch "ip_gre: remove the incorrect mtu limit for ipgre tap" is also needed for ip6_gre. Fixes:61e84623ac
("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> Signed-off-by: Sasha Levin <alexander.levin@verizon.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
212ea3380b
commit
5dc4cbcfb5
1 changed files with 1 additions and 0 deletions
|
@ -1335,6 +1335,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;
|
||||
|
|
Loading…
Reference in a new issue