diff options
author | Mathias Kresin <dev@kresin.me> | 2018-02-18 22:48:44 +0100 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-08-16 21:20:57 +0200 |
commit | 22ae14d0e7b882699f8512a75b4d06766aee4b78 (patch) | |
tree | c40123547604f69dbf2dcb69da2bb89a5b586aba /target/linux/ramips/files-4.14/drivers | |
parent | 8c91807214c42b481a0893e118d46f488419468a (diff) | |
download | upstream-22ae14d0e7b882699f8512a75b4d06766aee4b78.tar.gz upstream-22ae14d0e7b882699f8512a75b4d06766aee4b78.tar.bz2 upstream-22ae14d0e7b882699f8512a75b4d06766aee4b78.zip |
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>
Diffstat (limited to 'target/linux/ramips/files-4.14/drivers')
0 files changed, 0 insertions, 0 deletions