Mathias Kresin 50dbaee55c cns3xxx: 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.

Tested-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
Signed-off-by: Mathias Kresin <dev@kresin.me>
2018-08-20 13:04:34 +02:00
..
2018-08-08 09:54:51 +02:00
2018-08-08 16:35:19 +02:00
2018-05-24 17:24:30 +02:00
2018-08-10 18:43:59 +02:00
2018-08-20 13:04:00 +02:00
2018-08-10 18:43:59 +02:00
2018-01-09 10:26:16 +01:00
2018-05-24 17:24:31 +02:00
2018-04-19 14:38:57 +02:00
2018-08-08 16:35:19 +02:00
2018-05-24 16:03:58 +02:00
2018-06-07 09:03:05 +02:00