]> git.baikalelectronics.ru Git - kernel.git/commit
ipvlan: use ETH_MAX_MTU as max mtu
authorXin Long <lucien.xin@gmail.com>
Mon, 18 Jun 2018 08:15:57 +0000 (16:15 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jun 2018 22:53:46 +0000 (07:53 +0900)
commitf6048453c1bb62e37596645b3366dbe4d9ce0ac1
tree9be62402069b55d928fbb15f261d74602fae50a0
parentac788afe942a1a2aefc68165ed4396154c66946e
ipvlan: use ETH_MAX_MTU as max mtu

Similar to the fixes on team and bonding, this restores the ability
to set an ipvlan device's mtu to anything higher than 1500.

Fixes: 1376e65bcf3a ("net: use core MTU range checking in core net infra")
Signed-off-by: Xin Long <lucien.xin@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipvlan/ipvlan_main.c