Mathias Kresin 22ae14d0e7 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-16 21:20:57 +02:00
..
2018-07-31 05:11:07 +03:00
2018-08-13 17:10:39 +02:00
2018-08-10 18:43:23 +02:00
2018-05-22 07:20:13 +02:00
2018-07-31 05:11:07 +03:00
2018-08-02 08:49:18 +02:00
2018-08-03 16:10:38 +02:00
2018-08-01 09:46:59 +02:00
2018-08-01 09:46:59 +02:00
2018-08-10 18:43:23 +02:00
2018-01-09 10:26:16 +01:00
2018-08-03 16:10:38 +02:00
2018-07-30 11:03:02 +02:00
2018-04-19 14:38:57 +02:00
2018-07-31 05:11:07 +03:00
2018-05-22 20:49:08 +02:00
2018-07-30 14:10:00 +02:00
2018-08-10 18:43:23 +02:00
2018-05-18 09:10:21 +02:00