diff options
author | Daniele Palmas <dnlplm@gmail.com> | 2020-02-21 14:17:05 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-02-23 16:13:50 -0800 |
commit | eae7172f8141eb98e64e6e81acc9e9d5b2add127 (patch) | |
tree | 8e3bc59282c0270a0e8b088e534582ccff30e99d /sound/mips | |
parent | 39f3b41aa7cae917f928ef9f31d09da28188e5ed (diff) | |
download | linux-eae7172f8141eb98e64e6e81acc9e9d5b2add127.tar.bz2 |
net: usb: qmi_wwan: restore mtu min/max values after raw_ip switch
usbnet creates network interfaces with min_mtu = 0 and
max_mtu = ETH_MAX_MTU.
These values are not modified by qmi_wwan when the network interface
is created initially, allowing, for example, to set mtu greater than 1500.
When a raw_ip switch is done (raw_ip set to 'Y', then set to 'N') the mtu
values for the network interface are set through ether_setup, with
min_mtu = ETH_MIN_MTU and max_mtu = ETH_DATA_LEN, not allowing anymore to
set mtu greater than 1500 (error: mtu greater than device maximum).
The patch restores the original min/max mtu values set by usbnet after a
raw_ip switch.
Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
Acked-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound/mips')
0 files changed, 0 insertions, 0 deletions