openwrtv4/target/linux/ramips/files-4.14/drivers/net/ethernet
Mathias Kresin 5da2c68d00 ramips: mt7621: fix mtu setting with kernel 4.14
Since kernel 4.10 commit 61e84623ace3 ("net: centralize net_device
min/max MTU checking"), the range of mtu is [min_mtu, max_mtu], which
is [68, 1500] by default.

It's necessary to set a max_mtu if a mtu > 1500 is supported.

Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-06-16 10:08:51 +02:00
..
mediatek ramips: mt7621: fix mtu setting with kernel 4.14 2018-06-16 10:08:51 +02:00