diff options
author | Jakub Kicinski <kuba@kernel.org> | 2022-05-06 04:51:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-05-06 13:07:56 +0200 |
commit | ee8b7a1156f357613646d6c69d07ac5a087a1071 (patch) | |
tree | 407ecbc4558b07373978ef5a57a2b08d18d23206 /drivers/net/usb/ax88179_178a.c | |
parent | net: don't allow user space to lift the device limits (diff) | |
download | linux-ee8b7a1156f357613646d6c69d07ac5a087a1071.tar.xz linux-ee8b7a1156f357613646d6c69d07ac5a087a1071.zip |
net: make drivers set the TSO limit not the GSO limit
Drivers should call the TSO setting helper, GSO is controllable
by user space.
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/ax88179_178a.c')
-rw-r--r-- | drivers/net/usb/ax88179_178a.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/usb/ax88179_178a.c b/drivers/net/usb/ax88179_178a.c index e2fa56b92685..7a8c11a26eb5 100644 --- a/drivers/net/usb/ax88179_178a.c +++ b/drivers/net/usb/ax88179_178a.c @@ -1382,7 +1382,7 @@ static int ax88179_bind(struct usbnet *dev, struct usb_interface *intf) dev->net->hw_features |= dev->net->features; - netif_set_gso_max_size(dev->net, 16384); + netif_set_tso_max_size(dev->net, 16384); /* Enable checksum offload */ *tmp = AX_RXCOE_IP | AX_RXCOE_TCP | AX_RXCOE_UDP | |